From: Lars Op den Kamp Date: Thu, 3 Nov 2011 00:10:23 +0000 (+0100) Subject: cec: samsung's vendor specific remote keypresses don't send key releases. added call... X-Git-Tag: upstream/2.2.0~1^2~129 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=e487594963bdf8010777261e28c2f2fc11358b5f;p=deb_libcec.git cec: samsung's vendor specific remote keypresses don't send key releases. added call to AddKey() directly after the keypress --- 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(); } }