rcinput: add KEY_PROGRAM

Origin commit data
------------------
Branch: ni/coolstream
Commit: 282db3025a
Author: vanhofen <vanhofen@gmx.de>
Date: 2017-10-27 (Fri, 27 Oct 2017)

Origin message was:
------------------
- rcinput: add KEY_PROGRAM

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2017-10-27 23:43:44 +02:00
parent 6bbb88079a
commit ba4699148c
3 changed files with 4 additions and 3 deletions

View File

@@ -1688,6 +1688,8 @@ const char * CRCInput::getSpecialKeyName(const unsigned int key)
return "previous song";
case RC_bookmarks:
return "bookmarks";
case RC_program:
return "program";
default:
printf("unknown key: %d (0x%x) \n", key, key);
return "unknown";
@@ -1729,8 +1731,6 @@ int CRCInput::translate(int code)
return RC_down;
case KEY_PLAYPAUSE:
return RC_play;
case KEY_PROGRAM:
return RC_timer;
case KEY_CHANNELUP:
return RC_page_up;
case KEY_CHANNELDOWN: