mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-02 02:11:11 +02:00
- neutrino: add additional key to leave standby mode; unify standby locales
This re-adds an old feature from dbox2, but uses a more configurable way Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -161,6 +161,7 @@ const key_settings_struct_t key_settings[CKeybindSetup::KEYBINDS_COUNT] =
|
||||
{
|
||||
{LOCALE_KEYBINDINGMENU_TVRADIOMODE, &g_settings.key_tvradio_mode, LOCALE_MENU_HINT_KEY_TVRADIOMODE },
|
||||
{LOCALE_KEYBINDINGMENU_POWEROFF, &g_settings.key_power_off, LOCALE_MENU_HINT_KEY_POWEROFF },
|
||||
{LOCALE_KEYBINDINGMENU_STANDBYOFF_ADD, &g_settings.key_standby_off_add, LOCALE_MENU_HINT_KEY_STANDBYOFF_ADD },
|
||||
{LOCALE_KEYBINDINGMENU_PAGEUP, &g_settings.key_pageup, LOCALE_MENU_HINT_KEY_PAGEUP },
|
||||
{LOCALE_KEYBINDINGMENU_PAGEDOWN, &g_settings.key_pagedown, LOCALE_MENU_HINT_KEY_PAGEDOWN },
|
||||
{LOCALE_KEYBINDINGMENU_VOLUMEUP, &g_settings.key_volumeup, LOCALE_MENU_HINT_KEY_VOLUMEUP },
|
||||
@@ -474,6 +475,10 @@ void CKeybindSetup::showKeyBindModeSetup(CMenuWidget *bindSettings_modes)
|
||||
mf = new CMenuForwarder(key_settings[NKEY_POWER_OFF].keydescription, true, keychooser[NKEY_POWER_OFF]->getKeyName(), keychooser[NKEY_POWER_OFF], NULL, CRCInput::RC_green);
|
||||
mf->setHint("", key_settings[NKEY_POWER_OFF].hint);
|
||||
bindSettings_modes->addItem(mf);
|
||||
|
||||
mf = new CMenuForwarder(key_settings[NKEY_STANDBY_OFF_ADD].keydescription, true, keychooser[NKEY_STANDBY_OFF_ADD]->getKeyName(), keychooser[NKEY_STANDBY_OFF_ADD], NULL, CRCInput::RC_yellow);
|
||||
mf->setHint("", key_settings[NKEY_STANDBY_OFF_ADD].hint);
|
||||
bindSettings_modes->addItem(mf);
|
||||
}
|
||||
|
||||
void CKeybindSetup::showKeyBindChannellistSetup(CMenuWidget *bindSettings_chlist)
|
||||
|
Reference in New Issue
Block a user