diff options
author | David Thompson <dthompson2@worcester.edu> | 2021-10-24 12:40:11 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2021-10-24 12:40:11 -0400 |
commit | 2137a5b4db931325d46197859a06a6f218aa0ad9 (patch) | |
tree | de16cae514ac369ddd04d1ab12dd3c70c286395a /sdl2/bindings.scm | |
parent | d31c27ac48f81a534b28531e3d5fa626890be59f (diff) |
Add SDL_GetScancodeFromKey binding.
Diffstat (limited to 'sdl2/bindings.scm')
-rw-r--r-- | sdl2/bindings.scm | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/sdl2/bindings.scm b/sdl2/bindings.scm index ac16481..5a63636 100644 --- a/sdl2/bindings.scm +++ b/sdl2/bindings.scm @@ -973,6 +973,9 @@ RETURN-TYPE and accept arguments of ARG-TYPES." (define-foreign sdl-get-keyboard-state '* "SDL_GetKeyboardState" '(*)) +(define-foreign sdl-get-scancode-from-key + int "SDL_GetScancodeFromKey" (list int)) + ;;; ;;; Text Input |