From: Lars Op den Kamp Date: Sat, 17 Nov 2012 02:32:32 +0000 (+0100) Subject: bit nicer than 1c8829bdd654b1cb7ed2c1bd1c7a437d5b198bcf, also send the key to clients... X-Git-Tag: upstream/2.2.0~1^2~10^2 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=497c99967ba2ebf4662e1028c9c65165298961a6;p=deb_libcec.git bit nicer than 1c8829bdd654b1cb7ed2c1bd1c7a437d5b198bcf, also send the key to clients when receiving a vendor key up --- diff --git a/src/lib/implementations/PHCommandHandler.h b/src/lib/implementations/PHCommandHandler.h index cf61c66..38ebfe5 100644 --- a/src/lib/implementations/PHCommandHandler.h +++ b/src/lib/implementations/PHCommandHandler.h @@ -71,7 +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; } + virtual int HandleVendorRemoteButtonUp(const cec_command & command) { return HandleUserControlRelease(command); } uint8_t m_iLastKeyCode; CImageViewOnCheck* m_imageViewOnCheck; };