Advertisement
svenhoefer

Untitled

Dec 6th, 2020
1,270
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 1.06 KB | None | 0 0
  1. diff --git a/src/driver/rcinput.cpp b/src/driver/rcinput.cpp
  2. index 2de057304..88148612b 100644
  3. --- a/src/driver/rcinput.cpp
  4. +++ b/src/driver/rcinput.cpp
  5. @@ -1633,6 +1633,8 @@ const char * CRCInput::getSpecialKeyName(const unsigned int key)
  6.                 return "video";
  7.             case RC_tv:
  8.                 return "tv";
  9. +           case RC_tv2:
  10. +               return "tv2";
  11.             case RC_radio:
  12.                 return "radio";
  13.             case RC_text:
  14. @@ -1758,6 +1760,8 @@ int CRCInput::translate(int code)
  15.  #if BOXMODEL_HD51 || BOXMODEL_HD60 || BOXMODEL_HD61 || BOXMODEL_BRE2ZE4K || BOXMODEL_H7
  16.         case KEY_VIDEO:
  17.             return RC_favorites;
  18. +       case KEY_TV2:
  19. +           return RC_tv;
  20.  #elif BOXMODEL_OSMIO4K || BOXMODEL_OSMIO4KPLUS
  21.         case KEY_VIDEO:
  22.             return RC_mode;
  23. diff --git a/src/driver/rcinput.h b/src/driver/rcinput.h
  24. index dd7d498b2..44472235e 100644
  25. --- a/src/driver/rcinput.h
  26. +++ b/src/driver/rcinput.h
  27. @@ -226,6 +226,7 @@ class CRCInput
  28.             RC_audio    = KEY_AUDIO,
  29.             RC_video    = KEY_VIDEO,
  30.             RC_tv       = KEY_TV,
  31. +           RC_tv2      = KEY_TV2,
  32.             RC_radio    = KEY_RADIO,
  33.             RC_text     = KEY_TEXT,
  34.             RC_info     = KEY_INFO,
  35.  
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement