rcinput: add KEY_TV2; mapped to RC_tv

Origin commit data
------------------
Branch: ni/coolstream
Commit: 0040ec2869
Author: vanhofen <vanhofen@gmx.de>
Date: 2020-12-06 (Sun, 06 Dec 2020)

Origin message was:
------------------
- rcinput: add KEY_TV2; mapped to RC_tv

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

------------------
This commit was generated by Migit
This commit is contained in:
vanhofen
2020-12-06 22:31:07 +01:00
parent f0d07e3565
commit d3c37d9bad
2 changed files with 5 additions and 0 deletions

View File

@@ -1633,6 +1633,8 @@ const char * CRCInput::getSpecialKeyName(const unsigned int key)
return "video";
case RC_tv:
return "tv";
case RC_tv2:
return "tv2";
case RC_radio:
return "radio";
case RC_text:
@@ -1758,6 +1760,8 @@ int CRCInput::translate(int code)
#if BOXMODEL_HD51 || BOXMODEL_HD60 || BOXMODEL_HD61 || BOXMODEL_BRE2ZE4K || BOXMODEL_H7
case KEY_VIDEO:
return RC_favorites;
case KEY_TV2:
return RC_tv;
#elif BOXMODEL_OSMIO4K || BOXMODEL_OSMIO4KPLUS
case KEY_VIDEO:
return RC_mode;