diff options
author | David Thompson <dthompson2@worcester.edu> | 2019-01-05 23:28:29 -0500 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2019-01-05 23:28:29 -0500 |
commit | ecc007fd0a576a96382fd12a507138121e377ad6 (patch) | |
tree | 37b83beb4e1c6145211a48efb91cab5b5a193a22 /sdl2 | |
parent | d0f9c26dce6e23533c23e401f604d712b43d4420 (diff) |
input: game-controller: Fix bug where right-y axis is invalid.
* sdl2/input/game-controller.scm (axis-symbol->int): Fix typo!
Diffstat (limited to 'sdl2')
-rw-r--r-- | sdl2/input/game-controller.scm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sdl2/input/game-controller.scm b/sdl2/input/game-controller.scm index 120cc53..ba5aee1 100644 --- a/sdl2/input/game-controller.scm +++ b/sdl2/input/game-controller.scm @@ -109,7 +109,7 @@ associated with ." ('left-x ffi:SDL_CONTROLLER_AXIS_LEFTX) ('left-y ffi:SDL_CONTROLLER_AXIS_LEFTY) ('right-x ffi:SDL_CONTROLLER_AXIS_RIGHTX) - ('right-x ffi:SDL_CONTROLLER_AXIS_RIGHTY) + ('right-y ffi:SDL_CONTROLLER_AXIS_RIGHTY) ('trigger-left ffi:SDL_CONTROLLER_AXIS_TRIGGERLEFT) ('trigger-right ffi:SDL_CONTROLLER_AXIS_TRIGGERRIGHT))) |