Adjusted defaulyts. Fixed trigger turn default

This commit is contained in:
Travis Nickles 2019-08-23 22:08:15 -05:00
parent 78cf371dce
commit bc437a2769
2 changed files with 11 additions and 11 deletions

View File

@ -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;

View File

@ -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;