mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2025-01-25 22:41:16 +01:00
Reset gyro trigger items and touchpad invert items before parsing triggers
This commit is contained in:
parent
2e8aee10e0
commit
8f287a3714
@ -614,6 +614,16 @@ namespace DS4Windows
|
|||||||
nUDRSCurve.Value = RSCurve[device];
|
nUDRSCurve.Value = RSCurve[device];
|
||||||
cBControllerInput.Checked = DS4Mapping;
|
cBControllerInput.Checked = DS4Mapping;
|
||||||
|
|
||||||
|
for (int i = 0, arlen = cMGyroTriggers.Items.Count; i < arlen; i++)
|
||||||
|
{
|
||||||
|
((ToolStripMenuItem)cMGyroTriggers.Items[i]).Checked = false;
|
||||||
|
}
|
||||||
|
|
||||||
|
for (int i = 0, arlen = cMTouchDisableInvert.Items.Count; i < arlen; i++)
|
||||||
|
{
|
||||||
|
((ToolStripMenuItem)cMTouchDisableInvert.Items[i]).Checked = false;
|
||||||
|
}
|
||||||
|
|
||||||
string[] satriggers = SATriggers[device].Split(',');
|
string[] satriggers = SATriggers[device].Split(',');
|
||||||
List<string> s = new List<string>();
|
List<string> s = new List<string>();
|
||||||
int gyroTriggerCount = cMGyroTriggers.Items.Count;
|
int gyroTriggerCount = cMGyroTriggers.Items.Count;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user