diff --git a/DS4Windows/DS4Control/ScpUtil.cs b/DS4Windows/DS4Control/ScpUtil.cs index 351ac5b..e29f369 100644 --- a/DS4Windows/DS4Control/ScpUtil.cs +++ b/DS4Windows/DS4Control/ScpUtil.cs @@ -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; diff --git a/DS4Windows/DS4Forms/Options.Designer.cs b/DS4Windows/DS4Forms/Options.Designer.cs index 598b1be..fdb65fc 100644 --- a/DS4Windows/DS4Forms/Options.Designer.cs +++ b/DS4Windows/DS4Forms/Options.Designer.cs @@ -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}); diff --git a/DS4Windows/DS4Forms/Options.cs b/DS4Windows/DS4Forms/Options.cs index 1b9c34d..396fe01 100644 --- a/DS4Windows/DS4Forms/Options.cs +++ b/DS4Windows/DS4Forms/Options.cs @@ -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;