Change six axis dead zone calculation to be a proper dead zone

This commit is contained in:
Travis Nickles 2017-12-20 22:19:40 -06:00
parent c988449129
commit 3d387e5fde

View File

@ -917,8 +917,8 @@ namespace DS4Windows
bool sOff = tempBool = isUsingSAforMouse(device); bool sOff = tempBool = isUsingSAforMouse(device);
if (sOff == false) if (sOff == false)
{ {
int SXD = (int)(10d * getSXDeadzone(device)); int SXD = (int)(128d * getSXDeadzone(device));
int SZD = (int)(10d * getSZDeadzone(device)); int SZD = (int)(128d * getSZDeadzone(device));
double SXMax = getSXMaxzone(device); double SXMax = getSXMaxzone(device);
double SZMax = getSZMaxzone(device); double SZMax = getSZMaxzone(device);
double sxAntiDead = getSXAntiDeadzone(device); double sxAntiDead = getSXAntiDeadzone(device);