From 6ab0f3f020db7c4e7aa3e3efed30c89f0a2c38a6 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Thu, 5 Oct 2017 22:00:04 -0500 Subject: [PATCH] Make sure one full wheel click is used per action --- DS4Windows/DS4Control/Mapping.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/DS4Windows/DS4Control/Mapping.cs b/DS4Windows/DS4Control/Mapping.cs index b9569f5..c60e6dc 100644 --- a/DS4Windows/DS4Control/Mapping.cs +++ b/DS4Windows/DS4Control/Mapping.cs @@ -219,18 +219,18 @@ namespace DS4Windows if (globalState.currentClicks.wUpCount != 0 && globalState.previousClicks.wUpCount == 0) { - InputMethods.MouseEvent(InputMethods.MOUSEEVENTF_WHEEL, 100); + InputMethods.MouseEvent(InputMethods.MOUSEEVENTF_WHEEL, 120); oldnow = DateTime.UtcNow; - wheel = 100; + wheel = 120; } else if (globalState.currentClicks.wUpCount == 0 && globalState.previousClicks.wUpCount != 0) wheel = 0; if (globalState.currentClicks.wDownCount != 0 && globalState.previousClicks.wDownCount == 0) { - InputMethods.MouseEvent(InputMethods.MOUSEEVENTF_WHEEL, -100); + InputMethods.MouseEvent(InputMethods.MOUSEEVENTF_WHEEL, -120); oldnow = DateTime.UtcNow; - wheel = -100; + wheel = -120; } if (globalState.currentClicks.wDownCount == 0 && globalState.previousClicks.wDownCount != 0) wheel = 0;