diff --git a/src/driver/rcinput.cpp b/src/driver/rcinput.cpp index 4b75e69f4..aa895bc50 100644 --- a/src/driver/rcinput.cpp +++ b/src/driver/rcinput.cpp @@ -1692,6 +1692,8 @@ const char * CRCInput::getSpecialKeyName(const unsigned int key) 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"; @@ -1731,8 +1733,6 @@ int CRCInput::translate(int code) return RC_up; case 0x101: // FIXME -- needed? return RC_down; - case KEY_PLAYPAUSE: - return RC_play; case KEY_CHANNELUP: return RC_page_up; case KEY_CHANNELDOWN: diff --git a/src/driver/rcinput.h b/src/driver/rcinput.h index 46447aa85..173bd76a8 100644 --- a/src/driver/rcinput.h +++ b/src/driver/rcinput.h @@ -253,6 +253,7 @@ class CRCInput 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,