From e487594963bdf8010777261e28c2f2fc11358b5f Mon Sep 17 00:00:00 2001 From: Lars Op den Kamp Date: Thu, 3 Nov 2011 01:10:23 +0100 Subject: [PATCH] cec: samsung's vendor specific remote keypresses don't send key releases. added call to AddKey() directly after the keypress --- src/lib/implementations/ANCommandHandler.cpp | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/lib/implementations/ANCommandHandler.cpp b/src/lib/implementations/ANCommandHandler.cpp index 394cfa9..ef972f8 100644 --- a/src/lib/implementations/ANCommandHandler.cpp +++ b/src/lib/implementations/ANCommandHandler.cpp @@ -65,6 +65,9 @@ bool CANCommandHandler::HandleVendorRemoteButtonDown(const cec_command &command) m_busDevice->AddLog(CEC_LOG_DEBUG, strLog); m_busDevice->GetProcessor()->SetCurrentButton((cec_user_control_code) command.parameters[0]); + + // these ones don't send key release events + m_busDevice->GetProcessor()->AddKey(); } } -- 2.34.1