rcinput: add RC_playpause key

Origin commit data
------------------
Branch: ni/coolstream
Commit: b162d9505f
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-12-19 (Tue, 19 Dec 2017)

Origin message was:
------------------
- rcinput: add RC_playpause key

------------------
No further description and justification available within origin commit message!

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-12-19 10:58:44 +01:00
parent 42ff010389
commit 2e2148b993
2 changed files with 3 additions and 2 deletions

View File

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