diff options
author | David Thompson <dthompson@vistahigherlearning.com> | 2017-11-10 14:56:50 -0500 |
---|---|---|
committer | David Thompson <dthompson@vistahigherlearning.com> | 2017-11-10 14:56:50 -0500 |
commit | d4c9b381d931835f930608db9563434f312dbf67 (patch) | |
tree | 7d3c1a8cd94ea13bbcff2b1e14a95d9b45d90570 | |
parent | d57967f1f614a4426d2323a14c6dcd5c37ee1aa3 (diff) |
Add binding for SDL_GetMouseState.
No high-level wrapper yet, though.
* sdl2/bindings.scm (sdl-get-mouse-state): New procedure.
-rw-r--r-- | sdl2/bindings.scm | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/sdl2/bindings.scm b/sdl2/bindings.scm index 4644f1e..d333c59 100644 --- a/sdl2/bindings.scm +++ b/sdl2/bindings.scm @@ -856,6 +856,8 @@ RETURN-TYPE and accept arguments of ARG-TYPES." (define-public SDL_BUTTON_X1MASK (button-mask SDL_BUTTON_X1)) (define-public SDL_BUTTON_X2MASK (button-mask SDL_BUTTON_X2)) +(define-foreign sdl-get-mouse-state + uint32 "SDL_GetMouseState" '(* *)) ;;; |