rcinput: fix tv2 key for edhdultra and protek4k

Origin commit data
------------------
Branch: ni/coolstream
Commit: 5644d14b1b
Author: vanhofen <vanhofen@gmx.de>
Date: 2023-03-26 (Sun, 26 Mar 2023)

Origin message was:
------------------
- rcinput: fix tv2 key for edhdultra and protek4k

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2023-03-26 22:34:09 +02:00
parent bc3bad4541
commit 6e25596e76
2 changed files with 3 additions and 3 deletions

View File

@@ -1780,7 +1780,7 @@ int CRCInput::translate(int code)
case KEY_CHANNELDOWN: case KEY_CHANNELDOWN:
return RC_page_down; return RC_page_down;
#if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE #if HAVE_ARM_HARDWARE || HAVE_MIPS_HARDWARE
#if BOXMODEL_HD51 || BOXMODEL_BRE2ZE4K || BOXMODEL_H7 || BOXMODEL_HD60 || BOXMODEL_HD61 || BOXMODEL_MULTIBOX || BOXMODEL_MULTIBOXSE #if BOXMODEL_HD51 || BOXMODEL_BRE2ZE4K || BOXMODEL_H7 || BOXMODEL_E4HDULTRA || BOXMODEL_PROTEK4K || BOXMODEL_HD60 || BOXMODEL_HD61 || BOXMODEL_MULTIBOX || BOXMODEL_MULTIBOXSE
case KEY_VIDEO: case KEY_VIDEO:
return RC_favorites; return RC_favorites;
case KEY_TV2: case KEY_TV2:

View File

@@ -5824,14 +5824,14 @@ 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_PROTEK4K || BOXMODEL_HD60 || BOXMODEL_HD61 || BOXMODEL_MULTIBOX || BOXMODEL_MULTIBOXSE || BOXMODEL_OSMIO4K || BOXMODEL_OSMIO4KPLUS #if BOXMODEL_HD51 || BOXMODEL_BRE2ZE4K || BOXMODEL_H7 || BOXMODEL_E4HDULTRA || 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);
#else #else
g_settings.key_timeshift = tconfig->getInt32("key_timeshift", CRCInput::RC_pause); g_settings.key_timeshift = tconfig->getInt32("key_timeshift", CRCInput::RC_pause);
#endif #endif
#if BOXMODEL_HD61 #if BOXMODEL_E4HDULTRA || BOXMODEL_PROTEK4K || BOXMODEL_HD61
g_settings.key_tvradio_mode = tconfig->getInt32("key_tvradio_mode", CRCInput::RC_tv); g_settings.key_tvradio_mode = tconfig->getInt32("key_tvradio_mode", CRCInput::RC_tv);
#else #else
g_settings.key_tvradio_mode = tconfig->getInt32("key_tvradio_mode", CRCInput::RC_nokey); g_settings.key_tvradio_mode = tconfig->getInt32("key_tvradio_mode", CRCInput::RC_nokey);