cec: don't hack around the issue that samsung's vendor specific keypresses aren't...
[deb_libcec.git] / src / lib / LibCEC.cpp
index 0efef00b2bb1ea4ef30b67845b0d7c8e7b9f5596..95e2a2e42e72d1a5cadb37f2be924c207a19a322 100644 (file)
@@ -227,6 +227,13 @@ void CLibCEC::AddLog(cec_log_level level, const string &strMessage)
   }
 }
 
+void CLibCEC::AddKey(cec_keypress &key)
+{
+  m_keyBuffer.Push(key);
+  m_iCurrentButton = CEC_USER_CONTROL_CODE_UNKNOWN;
+  m_buttontime = 0;
+}
+
 void CLibCEC::AddKey(void)
 {
   if (m_iCurrentButton != CEC_USER_CONTROL_CODE_UNKNOWN)