Fix: Xbox controller D-Pad not working under Windows
This commit is contained in:
parent
519d13ccde
commit
5890656953
1 changed files with 1 additions and 1 deletions
|
@ -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