mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-26 11:04:21 +01:00
Fixed saving invert option for Mouse Joystick
This commit is contained in:
parent
bc437a2769
commit
b99e866a96
@ -1578,6 +1578,7 @@ namespace DS4Windows.Forms
|
||||
uint tempInvert = 0;
|
||||
if (gyroMouseStickInvertXCk.Checked) tempInvert |= 1 << 0;
|
||||
if (gyroMouseStickInvertYCk.Checked) tempInvert |= 1 << 1;
|
||||
GyroMouseStickInf[device].inverted = tempInvert;
|
||||
}
|
||||
|
||||
private void Show_ControlsBtn(object sender, EventArgs e)
|
||||
@ -3675,6 +3676,7 @@ namespace DS4Windows.Forms
|
||||
uint value = 0;
|
||||
if (gyroMouseStickInvertXCk.Checked) value |= 1 << 0;
|
||||
if (gyroMouseStickInvertYCk.Checked) value |= 1 << 1;
|
||||
GyroMouseStickInf[device].inverted = value;
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user