cec: added buttoncode for 'channels list' on samsung (0x96)
authorLars Op den Kamp <lars@opdenkamp.eu>
Sat, 7 Apr 2012 13:11:40 +0000 (15:11 +0200)
committerLars Op den Kamp <lars@opdenkamp.eu>
Sat, 7 Apr 2012 13:11:40 +0000 (15:11 +0200)
include/cectypes.h
src/lib/implementations/ANCommandHandler.cpp

index 29a2e3806fcb840fa1d64f333793b9abf37099bc..88eeabbd4b8afd1a9f89d6ea1070dad2f73655fd 100644 (file)
@@ -470,7 +470,8 @@ typedef enum cec_user_control_code
   CEC_USER_CONTROL_CODE_F5                          = 0x75,
   CEC_USER_CONTROL_CODE_DATA                        = 0x76,
   CEC_USER_CONTROL_CODE_AN_RETURN                   = 0x91,
-  CEC_USER_CONTROL_CODE_MAX                         = 0x91,
+  CEC_USER_CONTROL_CODE_AN_CHANNELS_LIST            = 0x96,
+  CEC_USER_CONTROL_CODE_MAX                         = 0x96,
   CEC_USER_CONTROL_CODE_UNKNOWN
 } cec_user_control_code;
 
index cd6082549b2f4c90644b83de98685f9fe7dfd866..182f0acc76444d10769062f8413cac767b3f5cad 100644 (file)
@@ -59,6 +59,9 @@ bool CANCommandHandler::HandleVendorRemoteButtonDown(const cec_command &command)
         CEC_USER_CONTROL_CODE_AN_RETURN :
         CEC_USER_CONTROL_CODE_EXIT;
       break;
+    case CEC_USER_CONTROL_CODE_AN_CHANNELS_LIST:
+      key.keycode = CEC_USER_CONTROL_CODE_AN_CHANNELS_LIST;
+      break;
     default:
       break;
     }