Fix: Xbox controller D-Pad not working under Windows

This commit is contained in:
Christopher Lees 2017-02-10 14:24:58 +00:00
parent 519d13ccde
commit 5890656953

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();
} }