From 640c03411186ee144b30a0dc3e20fc748d40d764 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?L=C3=A1szl=C3=B3=20Monda?= Date: Sat, 11 Aug 2018 01:53:45 +0200 Subject: [PATCH] Compensate "double tap to lock layer" timeouts for the timer fix to make them as long as before 8.3.3 --- right/src/usb_report_updater.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/right/src/usb_report_updater.c b/right/src/usb_report_updater.c index 156db1a..d50bf0c 100644 --- a/right/src/usb_report_updater.c +++ b/right/src/usb_report_updater.c @@ -20,8 +20,8 @@ static uint32_t mouseUsbReportUpdateTime = 0; static uint32_t mouseElapsedTime; -uint16_t DoubleTapSwitchLayerTimeout = 150; -static uint16_t DoubleTapSwitchLayerReleaseTimeout = 100; +uint16_t DoubleTapSwitchLayerTimeout = 300; +static uint16_t DoubleTapSwitchLayerReleaseTimeout = 200; static bool activeMouseStates[ACTIVE_MOUSE_STATES_COUNT]; bool TestUsbStack = false;