mirror of
https://github.com/Ryujinx/Opentk.git
synced 2024-12-23 18:55:50 +00:00
Merge pull request #484 from leezer3/develop
Fix: Xbox controller D-Pad not working under Windows
This commit is contained in:
commit
ae9c076748
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue