mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-09-06 21:28:26 +02:00
infoviewer_bb: use key-assignment from movieplayer
Origin commit data
------------------
Branch: ni/coolstream
Commit: 4c7cea95e9
Author: vanhofen <vanhofen@gmx.de>
Date: 2015-12-14 (Mon, 14 Dec 2015)
Origin message was:
------------------
- infoviewer_bb: use key-assignment from movieplayer
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -568,3 +568,17 @@ bool CKeybindSetup::changeNotify(const neutrino_locale_t OptionName, void * /* d
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
const char *CKeybindSetup::getMoviePlayerButtonName(const neutrino_msg_t key, bool &active)
|
||||
{
|
||||
active = false;
|
||||
for (unsigned int i = MPKEY_REWIND; i <= MPKEY_PLUGIN; i++)
|
||||
{
|
||||
if ((uint32_t)*key_settings[i].keyvalue_p == (unsigned int)key)
|
||||
{
|
||||
active = true;
|
||||
return g_Locale->getText(key_settings[i].keydescription);
|
||||
}
|
||||
}
|
||||
return "";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user