From bc437a27696930b2f37530d512c0243df6dd7c86 Mon Sep 17 00:00:00 2001 From: Travis Nickles Date: Fri, 23 Aug 2019 22:08:15 -0500 Subject: [PATCH] Adjusted defaulyts. Fixed trigger turn default --- DS4Windows/DS4Control/ScpUtil.cs | 12 ++++++------ DS4Windows/DS4Forms/Options.cs | 10 +++++----- 2 files changed, 11 insertions(+), 11 deletions(-) diff --git a/DS4Windows/DS4Control/ScpUtil.cs b/DS4Windows/DS4Control/ScpUtil.cs index 5f02f85..406724a 100644 --- a/DS4Windows/DS4Control/ScpUtil.cs +++ b/DS4Windows/DS4Control/ScpUtil.cs @@ -3146,28 +3146,28 @@ namespace DS4Windows try { Item = m_Xdoc.SelectSingleNode("/" + rootname + "/GyroMouseStickDeadZone"); int.TryParse(Item.InnerText, out int temp); gyroMStickInfo[device].deadZone = temp; } - catch { gyroMStickInfo[device].deadZone = 50; missingSetting = true; } + catch { gyroMStickInfo[device].deadZone = 30; missingSetting = true; } try { Item = m_Xdoc.SelectSingleNode("/" + rootname + "/GyroMouseStickMaxZone"); int.TryParse(Item.InnerText, out int temp); gyroMStickInfo[device].maxZone = temp; } - catch { gyroMStickInfo[device].maxZone = 880; missingSetting = true; } + catch { gyroMStickInfo[device].maxZone = 840; missingSetting = true; } try { Item = m_Xdoc.SelectSingleNode("/" + rootname + "/GyroMouseStickAntiDeadX"); double.TryParse(Item.InnerText, out double temp); gyroMStickInfo[device].antiDeadX = temp; } - catch { gyroMStickInfo[device].antiDeadX = 0.35; missingSetting = true; } + catch { gyroMStickInfo[device].antiDeadX = 0.4; missingSetting = true; } try { Item = m_Xdoc.SelectSingleNode("/" + rootname + "/GyroMouseStickAntiDeadY"); double.TryParse(Item.InnerText, out double temp); gyroMStickInfo[device].antiDeadY = temp; } - catch { gyroMStickInfo[device].antiDeadY = 0.35; missingSetting = true; } + catch { gyroMStickInfo[device].antiDeadY = 0.4; missingSetting = true; } try { Item = m_Xdoc.SelectSingleNode("/" + rootname + "/GyroMouseStickInvert"); uint.TryParse(Item.InnerText, out gyroMStickInfo[device].inverted); } catch { gyroMStickInfo[device].inverted = 0; missingSetting = true; } @@ -4552,8 +4552,8 @@ namespace DS4Windows gyroOutMode[device] = GyroOutMode.Controls; sAMouseStickTriggers[device] = string.Empty; sAMouseStickTriggerCond[device] = true; - gyroMStickInfo[device].deadZone = 40; gyroMStickInfo[device].maxZone = 880; - gyroMStickInfo[device].antiDeadX = 0.35; gyroMStickInfo[device].antiDeadY = 0.35; + gyroMStickInfo[device].deadZone = 30; gyroMStickInfo[device].maxZone = 840; + gyroMStickInfo[device].antiDeadX = 0.4; gyroMStickInfo[device].antiDeadY = 0.4; gyroMStickInfo[device].inverted = 0; sASteeringWheelEmulationAxis[device] = SASteeringWheelEmulationAxisType.None; sASteeringWheelEmulationRange[device] = 360; diff --git a/DS4Windows/DS4Forms/Options.cs b/DS4Windows/DS4Forms/Options.cs index 41c50ff..43eea1a 100644 --- a/DS4Windows/DS4Forms/Options.cs +++ b/DS4Windows/DS4Forms/Options.cs @@ -959,12 +959,12 @@ namespace DS4Windows.Forms OutContTypeCb.SelectedIndex = 0; gyroOutputMode.SelectedIndex = 0; - gyroMStickTrigBehaveCk.Checked = false; + gyroMStickTrigBehaveCk.Checked = true; gyroMouseStickEvalCombo.SelectedIndex = 0; - gyroMouseStickDZ.Value = 40; - gyroMouseStickMaxZ.Value = 880; - gyroMouseStickAntiDeadX.Value = 0.35m; - gyroMouseStickAntiDeadY.Value = 0.35m; + gyroMouseStickDZ.Value = 30; + gyroMouseStickMaxZ.Value = 840; + gyroMouseStickAntiDeadX.Value = 0.4m; + gyroMouseStickAntiDeadY.Value = 0.4m; gyroMousestickXAxisCom.SelectedIndex = 0; gyroMouseStickInvertXCk.Checked = false; gyroMouseStickInvertYCk.Checked = false;