mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-09-01 01:41:23 +02:00
gui/keybind_setup:checkLongPress(): return true for RC_standby
This commit is contained in:
@@ -199,6 +199,8 @@ bool checkLongPress(uint32_t key)
|
|||||||
{
|
{
|
||||||
if (g_settings.longkeypress_duration == LONGKEYPRESS_OFF)
|
if (g_settings.longkeypress_duration == LONGKEYPRESS_OFF)
|
||||||
return false;
|
return false;
|
||||||
|
if (key == CRCInput::RC_standby)
|
||||||
|
return true;
|
||||||
key |= CRCInput::RC_Repeat;
|
key |= CRCInput::RC_Repeat;
|
||||||
for (unsigned int i = 0; i < CKeybindSetup::KEYBINDS_COUNT; i++)
|
for (unsigned int i = 0; i < CKeybindSetup::KEYBINDS_COUNT; i++)
|
||||||
if ((uint32_t)*key_settings[i].keyvalue_p == key)
|
if ((uint32_t)*key_settings[i].keyvalue_p == key)
|
||||||
|
Reference in New Issue
Block a user