Change sixaxis dead zone defaults to reflect recent changes

This commit is contained in:
Travis Nickles 2018-01-12 22:48:20 -06:00
parent 64f81ac51d
commit 55f3e5ef66
3 changed files with 10 additions and 10 deletions

View File

@ -1260,7 +1260,7 @@ namespace DS4Windows
public int[] l2AntiDeadzone = new int[5] { 0, 0, 0, 0, 0 }, r2AntiDeadzone = new int[5] { 0, 0, 0, 0, 0 };
public int[] l2Maxzone = new int[5] { 100, 100, 100, 100, 100 }, r2Maxzone = new int[5] { 100, 100, 100, 100, 100 };
public double[] LSRotation = new double[5] { 0.0, 0.0, 0.0, 0.0, 0.0 }, RSRotation = new double[5] { 0.0, 0.0, 0.0, 0.0, 0.0 };
public double[] SXDeadzone = new double[5] { 0.25, 0.25, 0.25, 0.25, 0.25 }, SZDeadzone = new double[5] { 0.25, 0.25, 0.25, 0.25, 0.25 };
public double[] SXDeadzone = new double[5] { 0.02, 0.02, 0.02, 0.02, 0.02 }, SZDeadzone = new double[5] { 0.02, 0.02, 0.02, 0.02, 0.02 };
public double[] SXMaxzone = new double[5] { 1.0, 1.0, 1.0, 1.0, 1.0 },
SZMaxzone = new double[5] { 1.0, 1.0, 1.0, 1.0, 1.0 };
public double[] SXAntiDeadzone = new double[5] { 0.0, 0.0, 0.0, 0.0, 0.0 },
@ -2257,9 +2257,9 @@ namespace DS4Windows
catch { RSMaxzone[device] = 100; missingSetting = true; }
try { Item = m_Xdoc.SelectSingleNode("/" + rootname + "/SXDeadZone"); double.TryParse(Item.InnerText, out SXDeadzone[device]); }
catch { SXDeadzone[device] = 0.25; missingSetting = true; }
catch { SXDeadzone[device] = 0.02; missingSetting = true; }
try { Item = m_Xdoc.SelectSingleNode("/" + rootname + "/SZDeadZone"); double.TryParse(Item.InnerText, out SZDeadzone[device]); }
catch { SZDeadzone[device] = 0.25; missingSetting = true; }
catch { SZDeadzone[device] = 0.02; missingSetting = true; }
try { Item = m_Xdoc.SelectSingleNode("/" + rootname + "/SXMaxZone");
int temp = 0;
@ -3539,7 +3539,7 @@ namespace DS4Windows
l2Maxzone[device] = r2Maxzone[device] = 100;
LSRotation[device] = 0.0;
RSRotation[device] = 0.0;
SXDeadzone[device] = SZDeadzone[device] = 0.25;
SXDeadzone[device] = SZDeadzone[device] = 0.02;
SXMaxzone[device] = SZMaxzone[device] = 1.0;
SXAntiDeadzone[device] = SZAntiDeadzone[device] = 0.0;
l2Sens[device] = r2Sens[device] = 1;

View File

@ -1598,7 +1598,7 @@
0});
this.nUDSZ.Name = "nUDSZ";
this.nUDSZ.Value = new decimal(new int[] {
25,
2,
0,
0,
131072});
@ -1620,7 +1620,7 @@
0});
this.nUDSX.Name = "nUDSX";
this.nUDSX.Value = new decimal(new int[] {
25,
2,
0,
0,
131072});

View File

@ -510,7 +510,7 @@ namespace DS4Windows
}
catch
{
nUDSX.Value = 0.25m;
nUDSX.Value = 0.02m;
}
try
@ -519,7 +519,7 @@ namespace DS4Windows
}
catch
{
nUDSZ.Value = 0.25m;
nUDSZ.Value = 0.02m;
}
try
@ -768,8 +768,8 @@ namespace DS4Windows
nUDRSMaxZone.Value = 1;
nUDLSRotation.Value = 0;
nUDRSRotation.Value = 0;
nUDSX.Value = .25m;
nUDSZ.Value = .25m;
nUDSX.Value = 0.02m;
nUDSZ.Value = 0.02m;
nUDSixAxisXMaxZone.Value = 1.0m;
nUDSixAxisZMaxZone.Value = 1.0m;
nUDSixaxisXAntiDead.Value = 0.0m;