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
This commit is contained in:
Travis Nickles 2018-06-07 15:33:02 -05:00
parent b364330f50
commit 475723653d

View File

@ -2475,12 +2475,12 @@ namespace DS4Windows
{ {
int controlnum = DS4ControltoInt(control); int controlnum = DS4ControltoInt(control);
int deadzoneL = 3; int deadzoneL = 0;
int deadzoneR = 3; int deadzoneR = 0;
if (getLSDeadzone(device) >= 3) if (getLSDeadzone(device) == 0)
deadzoneL = 0; deadzoneL = 3;
if (getRSDeadzone(device) >= 3) if (getRSDeadzone(device) == 0)
deadzoneR = 0; deadzoneR = 3;
double value = 0.0; double value = 0.0;
int speed = ButtonMouseSensitivity[device]; int speed = ButtonMouseSensitivity[device];