mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-29 20:44:20 +01:00
Fixed gyro trigger item marking
This commit is contained in:
parent
b99e866a96
commit
709738aa59
@ -804,21 +804,6 @@ namespace DS4Windows.Forms
|
|||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
switch (GyroOutputMode[device])
|
|
||||||
{
|
|
||||||
case GyroOutMode.Controls:
|
|
||||||
gyroOutputMode.SelectedIndex = 0;
|
|
||||||
break;
|
|
||||||
case GyroOutMode.Mouse:
|
|
||||||
gyroOutputMode.SelectedIndex = 1;
|
|
||||||
break;
|
|
||||||
case GyroOutMode.MouseJoystick:
|
|
||||||
gyroOutputMode.SelectedIndex = 2;
|
|
||||||
break;
|
|
||||||
default:
|
|
||||||
break;
|
|
||||||
}
|
|
||||||
|
|
||||||
gyroMStickTrigBehaveCk.Checked = GyroMouseStickTriggerTurns[device];
|
gyroMStickTrigBehaveCk.Checked = GyroMouseStickTriggerTurns[device];
|
||||||
gyroMouseStickEvalCombo.SelectedIndex = SAMouseStickTriggerCond[device] ? 0 : 1;
|
gyroMouseStickEvalCombo.SelectedIndex = SAMouseStickTriggerCond[device] ? 0 : 1;
|
||||||
GyroMouseStickInfo gyroMouseStickInfo = GyroMouseStickInf[device];
|
GyroMouseStickInfo gyroMouseStickInfo = GyroMouseStickInf[device];
|
||||||
@ -1071,19 +1056,16 @@ namespace DS4Windows.Forms
|
|||||||
{
|
{
|
||||||
if (tr < gyroTriggerCount && tr > -1)
|
if (tr < gyroTriggerCount && tr > -1)
|
||||||
{
|
{
|
||||||
((ToolStripMenuItem)cMGyroTriggers.Items[tr]).Checked = true;
|
|
||||||
s.Add(cMGyroTriggers.Items[tr].Text);
|
s.Add(cMGyroTriggers.Items[tr].Text);
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
((ToolStripMenuItem)cMGyroTriggers.Items[gyroTriggerCount - 1]).Checked = true;
|
|
||||||
s.Add(cMGyroTriggers.Items[gyroTriggerCount - 1].Text);
|
s.Add(cMGyroTriggers.Items[gyroTriggerCount - 1].Text);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
((ToolStripMenuItem)cMGyroTriggers.Items[gyroTriggerCount - 1]).Checked = true;
|
|
||||||
s.Add(cMGyroTriggers.Items[gyroTriggerCount - 1].Text);
|
s.Add(cMGyroTriggers.Items[gyroTriggerCount - 1].Text);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user