never mark user control opcodes as unsupported
authorLars Op den Kamp <lars@opdenkamp.eu>
Mon, 3 Dec 2012 23:44:24 +0000 (00:44 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Mon, 3 Dec 2012 23:44:24 +0000 (00:44 +0100)
src/lib/devices/CECBusDevice.cpp

index 3192bfcff677abede1a03dc93e684d369ae641f7..fa063f4e52d47209bf3b223228c939b683602652 100644 (file)
@@ -227,7 +227,9 @@ void CCECBusDevice::SetUnsupportedFeature(cec_opcode opcode)
       opcode == CEC_OPCODE_VENDOR_REMOTE_BUTTON_UP ||
       opcode == CEC_OPCODE_ABORT ||
       opcode == CEC_OPCODE_FEATURE_ABORT ||
-      opcode == CEC_OPCODE_NONE)
+      opcode == CEC_OPCODE_NONE ||
+      opcode == CEC_OPCODE_USER_CONTROL_PRESSED ||
+      opcode == CEC_OPCODE_USER_CONTROL_RELEASE)
     return;
 
   {