Merge pull request #350 from mrhelmut/GamePadYFix

Invert Y axis on all GamePad
This commit is contained in:
Paul Scharf 2016-02-26 10:00:21 +01:00
commit 15d0dc647b

View file

@ -171,7 +171,7 @@ namespace OpenTK.Input
if ((axis & GamePadAxes.LeftY) != 0)
{
left_stick_y = value;
left_stick_y = (short)(-value);
}
if ((axis & GamePadAxes.RightX) != 0)
@ -181,7 +181,7 @@ namespace OpenTK.Input
if ((axis & GamePadAxes.RightY) != 0)
{
right_stick_y = value;
right_stick_y = (short)(-value);
}
if ((axis & GamePadAxes.LeftTrigger) != 0)