cec: added vendor id detection for Onkyo
authorLars Op den Kamp <lars@opdenkamp.eu>
Thu, 24 Nov 2011 21:53:58 +0000 (22:53 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Thu, 24 Nov 2011 21:53:58 +0000 (22:53 +0100)
include/cectypes.h
src/lib/implementations/CECCommandHandler.cpp

index 1b942e6d2c11f40d85960bd60ace0c7330931eac..ce042cc94ca212eb06394ca6dcf0cdaaa75b5edb 100644 (file)
@@ -588,6 +588,7 @@ typedef enum cec_vendor_id
   CEC_VENDOR_LG        = 0xE091,
   CEC_VENDOR_PANASONIC = 0x8045,
   CEC_VENDOR_PIONEER   = 0xE036,
+  CEC_VENDOR_ONKYO     = 0x09B0,
   CEC_VENDOR_UNKNOWN   = 0
 } cec_vendor_id;
 
index 4446c9d3ed9b4de4ce04f1b2dcbbf6fbb38f944c..7d568530209bdf0b1bfe9568596cbc32db98811e 100644 (file)
@@ -812,6 +812,8 @@ const char *CCECCommandHandler::ToString(const cec_vendor_id vendor)
     return "Panasonic";
   case CEC_VENDOR_PIONEER:
     return "Pioneer";
+  case CEC_VENDOR_ONKYO:
+    return "Onkyo";
   default:
     return "Unknown";
   }