mirror of
https://github.com/Ryujinx/Opentk.git
synced 2025-02-03 12:51:14 +00:00
IsButtonBind should check for buttons, not axes
This commit is contained in:
parent
b4b8bc1665
commit
f7fbf38c43
|
@ -159,7 +159,7 @@ namespace OpenTK.Platform.SDL2
|
|||
{
|
||||
GameControllerButtonBind bind =
|
||||
SDL.GameControllerGetBindForButton(gamecontroller, button);
|
||||
return bind.BindType == GameControllerBindType.Axis;
|
||||
return bind.BindType == GameControllerBindType.Button;
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
|
Loading…
Reference in a new issue