mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-25 10:46:51 +01:00
Fixed touchpad disable invert
This commit is contained in:
parent
16d8196bbf
commit
7f1c86ba7a
@ -359,7 +359,7 @@ namespace DS4Windows
|
||||
tempBool = true;
|
||||
for (int i = 0, arlen = disArray.Length; tempBool && i < arlen; i++)
|
||||
{
|
||||
if (getDS4ControlsByName(disArray[i]) == false)
|
||||
if (disArray[i] == -1 || getDS4ControlsByName(disArray[i]) == false)
|
||||
tempBool = false;
|
||||
}
|
||||
|
||||
|
@ -644,6 +644,7 @@ namespace DS4Windows.Forms
|
||||
cBTouchpadJitterCompensation.Checked = TouchpadJitterCompensation[device];
|
||||
|
||||
tempInt = TouchpadInvert[device];
|
||||
// Array values are set up so Array.IndexOf call is not necessary
|
||||
touchpadInvertComboBox.SelectedIndex = touchpadInvertToValue[tempInt];
|
||||
|
||||
cBlowerRCOn.Checked = LowerRCOn[device];
|
||||
|
Loading…
Reference in New Issue
Block a user