From 88d4cd6ca328c69353d25b1b505f4f750ffb35c8 Mon Sep 17 00:00:00 2001 From: Robert Fisk Date: Fri, 23 Feb 2018 20:19:08 +1300 Subject: [PATCH] Allow longer constant-speed motion before blocking --- Upstream/Inc/build_config.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Upstream/Inc/build_config.h b/Upstream/Inc/build_config.h index eaca17a..fecb448 100644 --- a/Upstream/Inc/build_config.h +++ b/Upstream/Inc/build_config.h @@ -49,7 +49,7 @@ //Constant acceleration detection stuff #define MOUSE_BOTDETECT_CONSTANT_ACCEL_LOCKOUT 300 //Lock when constant acceleration counter reaches this number - #define MOUSE_BOTDETECT_CONSTANT_ACCEL_STOP 10 //Block mouse movements when counter is above this value + #define MOUSE_BOTDETECT_CONSTANT_ACCEL_STOP 100 //Block mouse movements when counter is above this value #define MOUSE_BOTDETECT_CONSTANT_ACCEL_CREDIT 100 //Non-constant-acceleration movements can build a credit that will be used before hitting the limits above. Handy for mice or users that exhibit constant velocity characteristics mid-movement. #define MOUSE_BOTDETECT_VELOCITY_RESET_TIMEOUT_MS 3000 //Reset constant acceleration counter when mouse stops for this time