summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2019-01-05 23:28:29 -0500
committerDavid Thompson <dthompson2@worcester.edu>2019-01-05 23:28:29 -0500
commitecc007fd0a576a96382fd12a507138121e377ad6 (patch)
tree37b83beb4e1c6145211a48efb91cab5b5a193a22
parentd0f9c26dce6e23533c23e401f604d712b43d4420 (diff)
input: game-controller: Fix bug where right-y axis is invalid.
* sdl2/input/game-controller.scm (axis-symbol->int): Fix typo!
-rw-r--r--sdl2/input/game-controller.scm2
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)))