bit nicer than 1c8829bdd654b1cb7ed2c1bd1c7a437d5b198bcf, also send the key to clients...
authorLars Op den Kamp <lars@opdenkamp.eu>
Sat, 17 Nov 2012 02:32:32 +0000 (03:32 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Sat, 17 Nov 2012 02:32:32 +0000 (03:32 +0100)
src/lib/implementations/PHCommandHandler.h

index cf61c66c40c0d4a0e955c97773a22600f7acab5e..38ebfe596d1993491604283afdcf4494f95c43b8 100644 (file)
@@ -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;
   };