From 1c8829bdd654b1cb7ed2c1bd1c7a437d5b198bcf Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Sat, 17 Nov 2012 03:22:27 +0100 Subject: [PATCH] philips: some models send a vendor key release after a normal key press. only the first press was picked up because of this. closes #92 --- src/lib/implementations/PHCommandHandler.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/implementations/PHCommandHandler.h b/src/lib/implementations/PHCommandHandler.h index d1788c0..cf61c66 100644 --- a/src/lib/implementations/PHCommandHandler.h +++ b/src/lib/implementations/PHCommandHandler.h @@ -71,6 +71,7 @@ namespace CEC virtual int HandleUserControlRelease(const cec_command& command); virtual bool TransmitVendorID(const cec_logical_address iInitiator, const cec_logical_address iDestination, uint64_t iVendorId, bool bIsReply); virtual int HandleDeviceVendorId(const cec_command& command); + virtual int HandleVendorRemoteButtonUp(const cec_command & UNUSED(command)) { m_iLastKeyCode = CEC_USER_CONTROL_CODE_UNKNOWN; return COMMAND_HANDLED; } uint8_t m_iLastKeyCode; CImageViewOnCheck* m_imageViewOnCheck; }; -- 2.34.1