mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-12-25 08:01:49 +01:00
Use correct bounds for touchpad invert disabling. Allow PS to be selectable.
Resolves issue #108.
This commit is contained in:
parent
55b2de6d67
commit
560777710d
@ -1303,7 +1303,7 @@ namespace DS4Windows
|
|||||||
SATriggers[device] = string.Join(",", ints);
|
SATriggers[device] = string.Join(",", ints);
|
||||||
|
|
||||||
ints.Clear();
|
ints.Clear();
|
||||||
for (int i = 0, trigLen = cMTouchDisableInvert.Items.Count - 1; i < trigLen; i++)
|
for (int i = 0, trigLen = cMTouchDisableInvert.Items.Count; i < trigLen; i++)
|
||||||
{
|
{
|
||||||
if (((ToolStripMenuItem)cMTouchDisableInvert.Items[i]).Checked)
|
if (((ToolStripMenuItem)cMTouchDisableInvert.Items[i]).Checked)
|
||||||
ints.Add(i);
|
ints.Add(i);
|
||||||
@ -2889,7 +2889,7 @@ namespace DS4Windows
|
|||||||
|
|
||||||
List<int> ints = new List<int>();
|
List<int> ints = new List<int>();
|
||||||
List<string> s = new List<string>();
|
List<string> s = new List<string>();
|
||||||
for (int i = 0; i < touchDisableInvCount - 1; i++)
|
for (int i = 0; i < touchDisableInvCount; i++)
|
||||||
{
|
{
|
||||||
ToolStripMenuItem current = (ToolStripMenuItem)cMTouchDisableInvert.Items[i];
|
ToolStripMenuItem current = (ToolStripMenuItem)cMTouchDisableInvert.Items[i];
|
||||||
if (current.Checked)
|
if (current.Checked)
|
||||||
|
Loading…
Reference in New Issue
Block a user