rcinput: use translation for some keys

Origin commit data
------------------
Branch: ni/coolstream
Commit: f633ff3b96
Author: GetAway <get-away@t-online.de>
Date: 2018-12-05 (Wed, 05 Dec 2018)


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

------------------
This commit was generated by Migit
This commit is contained in:
GetAway
2018-12-05 14:08:48 +01:00
committed by vanhofen
parent 2eca1a92e5
commit ed6a7a40e0
5 changed files with 15 additions and 6 deletions

View File

@@ -895,11 +895,15 @@ unsigned int revert_translate(unsigned int code)
{
switch(code)
{
case RC_home:
return KEY_EXIT;
case RC_page_up:
return KEY_CHANNELUP;
case RC_page_down:
return KEY_CHANNELDOWN;
#ifdef HAVE_ARM_HARDWARE
case RC_mode:
return KEY_SWITCHVIDEOMODE;
case RC_play:
case RC_pause:
return KEY_PLAYPAUSE;