- rcinput: add RC_touchpad_toggle and RC_vod

Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
svenhoefer
2022-11-07 21:21:38 +01:00
committed by Thilo Graf
parent 3afd22fde0
commit 8bc428f848
3 changed files with 10 additions and 0 deletions

View File

@@ -1717,6 +1717,10 @@ const char * CRCInput::getSpecialKeyName(const unsigned int key)
return "play / pause";
case RC_pvr:
return "pvr";
case RC_touchpad_toggle:
return "touchpad toggle";
case RC_vod:
return "vod";
case RC_f1:
return "f1";
case RC_f2:

View File

@@ -191,6 +191,8 @@ class CRCInput
RC_bookmarks = KEY_BOOKMARKS,
RC_program = KEY_PROGRAM,
RC_playpause = KEY_PLAYPAUSE,
RC_touchpad_toggle = KEY_TOUCHPAD_TOGGLE,
RC_vod = KEY_VOD,
RC_f1 = KEY_F1,
RC_f2 = KEY_F2,

View File

@@ -65,6 +65,10 @@
#define KEY_BOTTOMRIGHT 0x1a5
#endif
#ifndef KEY_VOD
#define KEY_VOD 0x273
#endif
#define KEY_POWERON KEY_FN_F1
#define KEY_POWEROFF KEY_FN_F2
#define KEY_STANDBYON KEY_FN_F3