From 23a25bc504823e5ea357bf76b42d87b2b0dbd6e7 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Wed, 26 Dec 2018 22:27:01 -0600 Subject: [PATCH] Raised number of ticks possible for analog mouse wheel Related to issue #518. --- DS4Windows/DS4Control/Mapping.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DS4Windows/DS4Control/Mapping.cs b/DS4Windows/DS4Control/Mapping.cs index b98d700..c6840ab 100644 --- a/DS4Windows/DS4Control/Mapping.cs +++ b/DS4Windows/DS4Control/Mapping.cs @@ -2466,7 +2466,7 @@ namespace DS4Windows if (now >= oldnow + TimeSpan.FromMilliseconds(10) && !pressagain) { oldnow = now; - InputMethods.MouseWheel((int)(getByteMapping(device, control, cState, eState, tp) / 51f * (down ? -1 : 1)), 0); + InputMethods.MouseWheel((int)(getByteMapping(device, control, cState, eState, tp) / 1.5f * (down ? -1 : 1)), 0); } }