mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-neutrino.git
synced 2025-08-26 15:02:50 +02:00
rcinput: add RC_playpause key
Origin commit data
------------------
Commit: b162d9505f
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-12-19 (Tue, 19 Dec 2017)
Origin message was:
------------------
- rcinput: add RC_playpause key
This commit is contained in:
@@ -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:
|
||||
|
@@ -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,
|
||||
|
Reference in New Issue
Block a user