cec: samsung's vendor specific remote keypresses don't send key releases. added call...
authorLars Op den Kamp <lars@opdenkamp.eu>
Thu, 3 Nov 2011 00:10:23 +0000 (01:10 +0100)
committerLars Op den Kamp <lars@opdenkamp.eu>
Thu, 3 Nov 2011 00:30:41 +0000 (01:30 +0100)
src/lib/implementations/ANCommandHandler.cpp

index 394cfa93f2a0e40fb784470a5c32763c44f37847..ef972f8a5408c9f9c357403c0c5810324ee1029d 100644 (file)
@@ -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();
     }
   }