From 475723653dfa7ea0fdc24b3dadb7779766fc1349 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Thu, 7 Jun 2018 15:33:02 -0500 Subject: [PATCH] Changed logic for implicit stick mouse dead zone Only force the implicit dead zone if the setting is set to 0. Lower settings than the implicit dead zone are now possible for looser aiming --- DS4Windows/DS4Control/Mapping.cs | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/DS4Windows/DS4Control/Mapping.cs b/DS4Windows/DS4Control/Mapping.cs index 192aab4..bb452cc 100644 --- a/DS4Windows/DS4Control/Mapping.cs +++ b/DS4Windows/DS4Control/Mapping.cs @@ -2475,12 +2475,12 @@ namespace DS4Windows { int controlnum = DS4ControltoInt(control); - int deadzoneL = 3; - int deadzoneR = 3; - if (getLSDeadzone(device) >= 3) - deadzoneL = 0; - if (getRSDeadzone(device) >= 3) - deadzoneR = 0; + int deadzoneL = 0; + int deadzoneR = 0; + if (getLSDeadzone(device) == 0) + deadzoneL = 3; + if (getRSDeadzone(device) == 0) + deadzoneR = 3; double value = 0.0; int speed = ButtonMouseSensitivity[device];