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

@@ -1733,6 +1733,8 @@ int CRCInput::translate(int code)
{
switch(code)
{
case KEY_EXIT:
return RC_home;
case 0x100: // FIXME -- needed?
return RC_up;
case 0x101: // FIXME -- needed?
@@ -1742,6 +1744,8 @@ int CRCInput::translate(int code)
case KEY_CHANNELDOWN:
return RC_page_down;
#ifdef HAVE_ARM_HARDWARE
case KEY_SWITCHVIDEOMODE:
return RC_mode;
case KEY_VIDEO:
return RC_favorites;
case KEY_FASTFORWARD: