mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-30 08:51:10 +02:00
- rcinput: add RC_f1..10 keys
Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -1717,6 +1717,26 @@ const char * CRCInput::getSpecialKeyName(const unsigned int key)
|
||||
return "play / pause";
|
||||
case RC_pvr:
|
||||
return "pvr";
|
||||
case RC_f1:
|
||||
return "f1";
|
||||
case RC_f2:
|
||||
return "f2";
|
||||
case RC_f3:
|
||||
return "f3";
|
||||
case RC_f4:
|
||||
return "f4";
|
||||
case RC_f5:
|
||||
return "f5";
|
||||
case RC_f6:
|
||||
return "f6";
|
||||
case RC_f7:
|
||||
return "f7";
|
||||
case RC_f8:
|
||||
return "f8";
|
||||
case RC_f9:
|
||||
return "f9";
|
||||
case RC_f10:
|
||||
return "f10";
|
||||
default:
|
||||
printf("unknown key: %d (0x%x) \n", key, key);
|
||||
return "unknown";
|
||||
|
@@ -270,6 +270,17 @@ class CRCInput
|
||||
RC_analog_on = KEY_ANALOGON,
|
||||
RC_analog_off = KEY_ANALOGOFF,
|
||||
|
||||
RC_f1 = KEY_F1,
|
||||
RC_f2 = KEY_F2,
|
||||
RC_f3 = KEY_F3,
|
||||
RC_f4 = KEY_F4,
|
||||
RC_f5 = KEY_F5,
|
||||
RC_f6 = KEY_F6,
|
||||
RC_f7 = KEY_F7,
|
||||
RC_f8 = KEY_F8,
|
||||
RC_f9 = KEY_F9,
|
||||
RC_f10 = KEY_F10,
|
||||
|
||||
RC_timeout = 0xFFFFFFFF,
|
||||
RC_nokey = RC_NOKEY
|
||||
};
|
||||
|
Reference in New Issue
Block a user