summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2022-10-01 21:30:08 -0400
committerDavid Thompson <dthompson2@worcester.edu>2022-10-01 21:30:08 -0400
commit7508e7592883c49a5a0672d4fd9d9ae69c0b1ab0 (patch)
tree235fa29eb3319c9ef79fd285687036ffcba681e2
parent24e4a031a6edbfd3a8bca673e41c963be39cd0b8 (diff)
bindings: Add additional controller button identifiers.
-rw-r--r--sdl2/bindings.scm8
1 files changed, 7 insertions, 1 deletions
diff --git a/sdl2/bindings.scm b/sdl2/bindings.scm
index 954aa8b..c623815 100644
--- a/sdl2/bindings.scm
+++ b/sdl2/bindings.scm
@@ -1288,7 +1288,13 @@ RETURN-TYPE and accept arguments of ARG-TYPES."
(define-public SDL_CONTROLLER_BUTTON_DPAD_DOWN 12)
(define-public SDL_CONTROLLER_BUTTON_DPAD_LEFT 13)
(define-public SDL_CONTROLLER_BUTTON_DPAD_RIGHT 14)
-(define-public SDL_CONTROLLER_BUTTON_MAX 15)
+(define-public SDL_CONTROLLER_BUTTON_MISC1 15)
+(define-public SDL_CONTROLLER_BUTTON_PADDLE1 16)
+(define-public SDL_CONTROLLER_BUTTON_PADDLE2 17)
+(define-public SDL_CONTROLLER_BUTTON_PADDLE3 18)
+(define-public SDL_CONTROLLER_BUTTON_PADDLE4 19)
+(define-public SDL_CONTROLLER_BUTTON_TOUCHPAD 20)
+(define-public SDL_CONTROLLER_BUTTON_MAX 21)
(define-foreign sdl-game-controller-add-mappings-from-rw
int "SDL_GameControllerAddMappingsFromRW" (list '* int))