From 3cd2a27ac0f963bc2023c3004f6f8eff0eb62a81 Mon Sep 17 00:00:00 2001 From: francislan Date: Fri, 13 Mar 2020 09:49:44 -0700 Subject: Decouple mouse cursor and mouse wheel in accelerated mode (#6685) * Decouples mouse cursor and mouse wheel movements in accelerated mode. * Fixed comment indentation. * Updated docs Co-authored-by: Francis LAN --- tmk_core/common/mousekey.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tmk_core/common/mousekey.h') diff --git a/tmk_core/common/mousekey.h b/tmk_core/common/mousekey.h index 48946987ce..05e4538234 100644 --- a/tmk_core/common/mousekey.h +++ b/tmk_core/common/mousekey.h @@ -55,6 +55,12 @@ along with this program. If not, see . # ifndef MOUSEKEY_TIME_TO_MAX # define MOUSEKEY_TIME_TO_MAX 20 # endif +# ifndef MOUSEKEY_WHEEL_DELAY +# define MOUSEKEY_WHEEL_DELAY 300 +# endif +# ifndef MOUSEKEY_WHEEL_INTERVAL +# define MOUSEKEY_WHEEL_INTERVAL 100 +# endif # ifndef MOUSEKEY_WHEEL_MAX_SPEED # define MOUSEKEY_WHEEL_MAX_SPEED 8 # endif -- cgit v1.2.3