mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-28 07:51:19 +02:00
- rcinput: add RC_playpause key
Conflicts: src/driver/rcinput.cpp src/driver/rcinput.h Signed-off-by: Thilo Graf <dbt@novatux.de>
This commit is contained in:
@@ -1677,6 +1677,10 @@ const char * CRCInput::getSpecialKeyName(const unsigned int key)
|
||||
return "previous song";
|
||||
case RC_bookmarks:
|
||||
return "bookmarks";
|
||||
case RC_program:
|
||||
return "program";
|
||||
case RC_playpause:
|
||||
return "play / pause";
|
||||
default:
|
||||
printf("unknown key: %d (0x%x) \n", key, key);
|
||||
return "unknown";
|
||||
|
@@ -252,6 +252,8 @@ class CRCInput
|
||||
RC_nextsong = KEY_NEXTSONG,
|
||||
RC_previoussong = KEY_PREVIOUSSONG,
|
||||
RC_bookmarks = KEY_BOOKMARKS,
|
||||
RC_program = KEY_PROGRAM,
|
||||
RC_playpause = KEY_PLAYPAUSE,
|
||||
|
||||
RC_power_on = KEY_POWERON,
|
||||
RC_power_off = KEY_POWEROFF,
|
||||
|
Reference in New Issue
Block a user