mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-01-11 06:15:38 +00:00
Invert Y axis on all GamePad
This commit is contained in:
parent
6ac1c63ff3
commit
d0efd76edf
|
@ -171,7 +171,7 @@ namespace OpenTK.Input
|
||||||
|
|
||||||
if ((axis & GamePadAxes.LeftY) != 0)
|
if ((axis & GamePadAxes.LeftY) != 0)
|
||||||
{
|
{
|
||||||
left_stick_y = value;
|
left_stick_y = (short)(-value);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((axis & GamePadAxes.RightX) != 0)
|
if ((axis & GamePadAxes.RightX) != 0)
|
||||||
|
@ -181,7 +181,7 @@ namespace OpenTK.Input
|
||||||
|
|
||||||
if ((axis & GamePadAxes.RightY) != 0)
|
if ((axis & GamePadAxes.RightY) != 0)
|
||||||
{
|
{
|
||||||
right_stick_y = value;
|
right_stick_y = (short)(-value);
|
||||||
}
|
}
|
||||||
|
|
||||||
if ((axis & GamePadAxes.LeftTrigger) != 0)
|
if ((axis & GamePadAxes.LeftTrigger) != 0)
|
||||||
|
|
Loading…
Reference in a new issue