Merge pull request #484 from leezer3/develop

Fix: Xbox controller D-Pad not working under Windows
This commit is contained in:
varon 2017-02-10 17:35:25 +02:00 committed by GitHub
commit ae9c076748

View file

@ -130,7 +130,7 @@ namespace OpenTK.Platform.Windows
int buttons = TranslateButtons(xcaps.GamePad.Buttons); int buttons = TranslateButtons(xcaps.GamePad.Buttons);
int axes = TranslateAxes(ref xcaps.GamePad); int axes = TranslateAxes(ref xcaps.GamePad);
return new JoystickCapabilities(axes, buttons, 0, true); return new JoystickCapabilities(axes, buttons, 1, true);
} }
return new JoystickCapabilities(); return new JoystickCapabilities();
} }