- 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:
svenhoefer
2017-12-19 10:58:44 +01:00
committed by Thilo Graf
parent ae2a6c06f8
commit a4670c75a9
2 changed files with 6 additions and 0 deletions

View File

@@ -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";

View File

@@ -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,