add RC_PVR key

This commit is contained in:
Markus Volk
2020-03-07 08:45:27 +01:00
parent 995163c00c
commit d0a75ce0ae
3 changed files with 7 additions and 1 deletions

View File

@@ -1697,6 +1697,8 @@ const char * CRCInput::getSpecialKeyName(const unsigned int key)
return "program";
case RC_playpause:
return "play / pause";
case RC_pvr:
return "pvr";
default:
printf("unknown key: %d (0x%x) \n", key, key);
return "unknown";
@@ -1751,6 +1753,9 @@ int CRCInput::translate(int code)
#elif BOXMODEL_OSMIO4K || BOXMODEL_OSMIO4KPLUS
case KEY_VIDEO:
return RC_mode;
case KEY_PVR:
return RC_pvr;
#endif
case KEY_SWITCHVIDEOMODE:
return RC_mode;

View File

@@ -237,6 +237,7 @@ class CRCInput
RC_record = KEY_RECORD,
RC_play = KEY_PLAY,
RC_pause = KEY_PAUSE,
RC_pvr = KEY_PVR,
RC_forward = KEY_FORWARD,
RC_rewind = KEY_REWIND,
RC_stop = KEY_STOP,