-
-
Save sobkas/a79089bad0b3b5b504c4 to your computer and use it in GitHub Desktop.
My patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
diff -ru -p1 plexhometheater-1.4.1~/xbmc/peripherals/devices/PeripheralCecAdapter.cpp plexhometheater-1.4.1/xbmc/peripherals/devices/PeripheralCecAdapter.cpp | |
--- plexhometheater-1.4.1~/xbmc/peripherals/devices/PeripheralCecAdapter.cpp 2015-05-25 09:50:17.751485348 +0200 | |
+++ plexhometheater-1.4.1/xbmc/peripherals/devices/PeripheralCecAdapter.cpp 2015-05-25 09:57:14.878075432 +0200 | |
@@ -1381,3 +1381,7 @@ void CPeripheralCecAdapter::SetConfigura | |
// double tap prevention timeout in ms | |
- m_configuration.iDoubleTapTimeoutMs = GetSettingInt("double_tap_timeout_ms"); | |
+ #if defined(CEC_DOUBLE_TAP_TIMEOUT_MS_OLD) | |
+ m_configuration.iDoubleTapTimeout50Ms = GetSettingInt("double_tap_timeout_ms") / 50; | |
+ #else | |
+ m_configuration.iDoubleTapTimeoutMs = GetSettingInt("double_tap_timeout_ms"); | |
+ #endif | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment