repositories
/
deb_libcec.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
added iDoubleTapTimeoutMs to libcec_configuration
[deb_libcec.git]
/
src
/
lib
/
CECClient.cpp
diff --git
a/src/lib/CECClient.cpp
b/src/lib/CECClient.cpp
index 6be95b735b2bf560226b1857b215f0fa5d2ddeb6..d6f8100dec9daa25b26b7e55986eeaf8e85f6858 100644
(file)
--- a/
src/lib/CECClient.cpp
+++ b/
src/lib/CECClient.cpp
@@
-1377,7
+1377,7
@@
void CCECClient::CallbackAddKey(const cec_keypress &key)
int64_t now = GetTimeMs();
if (m_lastKeypress.keycode != key.keycode ||
key.duration > 0 ||
int64_t now = GetTimeMs();
if (m_lastKeypress.keycode != key.keycode ||
key.duration > 0 ||
- now - m_iLastKeypressTime >=
CEC_DOUBLE_TAP_TIMEOUT_MS
)
+ now - m_iLastKeypressTime >=
m_configuration.iDoubleTapTimeoutMs
)
{
// no double tap
if (key.duration == 0)
{
// no double tap
if (key.duration == 0)