From: Lars Op den Kamp Date: Thu, 24 Nov 2011 21:53:58 +0000 (+0100) Subject: cec: added vendor id detection for Onkyo X-Git-Tag: upstream/2.2.0~1^2~44^2~114 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=cd02e9b2e9331d5d3b0f5988220a3c6a59c379f5;p=deb_libcec.git cec: added vendor id detection for Onkyo --- diff --git a/include/cectypes.h b/include/cectypes.h index 1b942e6..ce042cc 100644 --- a/include/cectypes.h +++ b/include/cectypes.h @@ -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; diff --git a/src/lib/implementations/CECCommandHandler.cpp b/src/lib/implementations/CECCommandHandler.cpp index 4446c9d..7d56853 100644 --- a/src/lib/implementations/CECCommandHandler.cpp +++ b/src/lib/implementations/CECCommandHandler.cpp @@ -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"; }