mirror of
https://github.com/cemu-project/DS4Windows.git
synced 2024-11-23 01:39:17 +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;
|
uint tempInvert = 0;
|
||||||
if (gyroMouseStickInvertXCk.Checked) tempInvert |= 1 << 0;
|
if (gyroMouseStickInvertXCk.Checked) tempInvert |= 1 << 0;
|
||||||
if (gyroMouseStickInvertYCk.Checked) tempInvert |= 1 << 1;
|
if (gyroMouseStickInvertYCk.Checked) tempInvert |= 1 << 1;
|
||||||
|
GyroMouseStickInf[device].inverted = tempInvert;
|
||||||
}
|
}
|
||||||
|
|
||||||
private void Show_ControlsBtn(object sender, EventArgs e)
|
private void Show_ControlsBtn(object sender, EventArgs e)
|
||||||
@ -3675,6 +3676,7 @@ namespace DS4Windows.Forms
|
|||||||
uint value = 0;
|
uint value = 0;
|
||||||
if (gyroMouseStickInvertXCk.Checked) value |= 1 << 0;
|
if (gyroMouseStickInvertXCk.Checked) value |= 1 << 0;
|
||||||
if (gyroMouseStickInvertYCk.Checked) value |= 1 << 1;
|
if (gyroMouseStickInvertYCk.Checked) value |= 1 << 1;
|
||||||
|
GyroMouseStickInf[device].inverted = value;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user