projects
/
platform
/
core
/
csapi
/
opentk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b4b8bc1
)
IsButtonBind should check for buttons, not axes
author
thefiddler
<stapostol@gmail.com>
Wed, 25 Dec 2013 00:47:27 +0000
(
01:47
+0100)
committer
thefiddler
<stapostol@gmail.com>
Wed, 25 Dec 2013 00:47:27 +0000
(
01:47
+0100)
Source/OpenTK/Platform/SDL2/Sdl2JoystickDriver.cs
patch
|
blob
|
history
diff --git
a/Source/OpenTK/Platform/SDL2/Sdl2JoystickDriver.cs
b/Source/OpenTK/Platform/SDL2/Sdl2JoystickDriver.cs
index
7e5cd95
..
5d014d0
100644
(file)
--- a/
Source/OpenTK/Platform/SDL2/Sdl2JoystickDriver.cs
+++ b/
Source/OpenTK/Platform/SDL2/Sdl2JoystickDriver.cs
@@
-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