mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 14:25:35 +00:00
Fix: Xbox controller D-Pad not working under Windows
This commit is contained in:
parent
519d13ccde
commit
5890656953
|
@ -130,7 +130,7 @@ namespace OpenTK.Platform.Windows
|
|||
int buttons = TranslateButtons(xcaps.GamePad.Buttons);
|
||||
int axes = TranslateAxes(ref xcaps.GamePad);
|
||||
|
||||
return new JoystickCapabilities(axes, buttons, 0, true);
|
||||
return new JoystickCapabilities(axes, buttons, 1, true);
|
||||
}
|
||||
return new JoystickCapabilities();
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue