- some playpause fixes for BOXMODEL_PROTEK4K

Conflicts:
	src/neutrino.cpp
This commit is contained in:
vanhofen
2023-01-15 17:15:34 +01:00
committed by Thilo Graf
parent 9d20b04642
commit 4a3a786645

View File

@@ -339,7 +339,7 @@ static SNeutrinoSettings::usermenu_t usermenu_default[] = {
{ CRCInput::RC_green, "6", "", "green" }, { CRCInput::RC_green, "6", "", "green" },
{ CRCInput::RC_yellow, "7,36", "", "yellow" }, { CRCInput::RC_yellow, "7,36", "", "yellow" },
{ CRCInput::RC_blue, "12,11,20,21,19,14,30,15,35", "", "blue" }, { CRCInput::RC_blue, "12,11,20,21,19,14,30,15,35", "", "blue" },
#if BOXMODEL_HD51 || BOXMODEL_BRE2ZE4K || BOXMODEL_H7 || BOXMODEL_HD60 || BOXMODEL_HD61 || BOXMODEL_MULTIBOX || BOXMODEL_MULTIBOXSE #if BOXMODEL_HD51 || BOXMODEL_BRE2ZE4K || BOXMODEL_H7 || BOXMODEL_PROTEK4K || BOXMODEL_HD60 || BOXMODEL_HD61 || BOXMODEL_MULTIBOX || BOXMODEL_MULTIBOXSE
{ CRCInput::RC_playpause, "9", "", "5" }, { CRCInput::RC_playpause, "9", "", "5" },
#else #else
{ CRCInput::RC_play, "9", "", "5" }, { CRCInput::RC_play, "9", "", "5" },
@@ -5766,7 +5766,7 @@ void CNeutrinoApp::loadKeys(const char *fname)
g_settings.key_subchannel_down = tconfig->getInt32("key_subchannel_down", CRCInput::RC_left); g_settings.key_subchannel_down = tconfig->getInt32("key_subchannel_down", CRCInput::RC_left);
g_settings.key_subchannel_up = tconfig->getInt32("key_subchannel_up", CRCInput::RC_right); g_settings.key_subchannel_up = tconfig->getInt32("key_subchannel_up", CRCInput::RC_right);
g_settings.key_switchformat = tconfig->getInt32("key_switchformat", CRCInput::RC_nokey); g_settings.key_switchformat = tconfig->getInt32("key_switchformat", CRCInput::RC_nokey);
#if BOXMODEL_HD51 || BOXMODEL_BRE2ZE4K || BOXMODEL_H7 || BOXMODEL_HD60 || BOXMODEL_HD61 || BOXMODEL_MULTIBOX || BOXMODEL_MULTIBOXSE || BOXMODEL_OSMIO4K || BOXMODEL_OSMIO4KPLUS #if BOXMODEL_HD51 || BOXMODEL_BRE2ZE4K || BOXMODEL_H7 || BOXMODEL_PROTEK4K || BOXMODEL_HD60 || BOXMODEL_HD61 || BOXMODEL_MULTIBOX || BOXMODEL_MULTIBOXSE || BOXMODEL_OSMIO4K || BOXMODEL_OSMIO4KPLUS
g_settings.key_timeshift = tconfig->getInt32("key_timeshift", CRCInput::RC_nokey); // FIXME g_settings.key_timeshift = tconfig->getInt32("key_timeshift", CRCInput::RC_nokey); // FIXME
#elif BOXMODEL_VUPLUS_ALL #elif BOXMODEL_VUPLUS_ALL
g_settings.key_timeshift = tconfig->getInt32("key_timeshift", CRCInput::RC_playpause); g_settings.key_timeshift = tconfig->getInt32("key_timeshift", CRCInput::RC_playpause);
@@ -5796,7 +5796,7 @@ void CNeutrinoApp::loadKeys(const char *fname)
g_settings.mpkey_forward = tconfig->getInt32("mpkey.forward", CRCInput::RC_forward); g_settings.mpkey_forward = tconfig->getInt32("mpkey.forward", CRCInput::RC_forward);
g_settings.mpkey_goto = tconfig->getInt32("mpkey.goto", CRCInput::RC_nokey); g_settings.mpkey_goto = tconfig->getInt32("mpkey.goto", CRCInput::RC_nokey);
g_settings.mpkey_next_repeat_mode = tconfig->getInt32("mpkey.next_repeat_mode", CRCInput::RC_nokey); g_settings.mpkey_next_repeat_mode = tconfig->getInt32("mpkey.next_repeat_mode", CRCInput::RC_nokey);
#if BOXMODEL_HD51 || BOXMODEL_BRE2ZE4K || BOXMODEL_H7 || BOXMODEL_HD60 || BOXMODEL_HD61 || BOXMODEL_MULTIBOX || BOXMODEL_MULTIBOXSE #if BOXMODEL_HD51 || BOXMODEL_BRE2ZE4K || BOXMODEL_H7 || BOXMODEL_PROTEK4K || BOXMODEL_HD60 || BOXMODEL_HD61 || BOXMODEL_MULTIBOX || BOXMODEL_MULTIBOXSE
g_settings.mpkey_pause = tconfig->getInt32("mpkey.pause", CRCInput::RC_playpause); g_settings.mpkey_pause = tconfig->getInt32("mpkey.pause", CRCInput::RC_playpause);
g_settings.mpkey_play = tconfig->getInt32("mpkey.play", CRCInput::RC_playpause); g_settings.mpkey_play = tconfig->getInt32("mpkey.play", CRCInput::RC_playpause);
#elif BOXMODEL_VUPLUS_ALL #elif BOXMODEL_VUPLUS_ALL