From 637444a6bc88900c820b5c03e7358ea6099dc2ac 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