summaryrefslogtreecommitdiff
path: root/sdl2/bindings.scm
diff options
context:
space:
mode:
Diffstat (limited to 'sdl2/bindings.scm')
-rw-r--r--sdl2/bindings.scm16
1 files changed, 15 insertions, 1 deletions
diff --git a/sdl2/bindings.scm b/sdl2/bindings.scm
index e3167a0..e48ce64 100644
--- a/sdl2/bindings.scm
+++ b/sdl2/bindings.scm
@@ -1,5 +1,5 @@
;;; guile-sdl2 --- FFI bindings for SDL2
-;;; Copyright © 2015 David Thompson <davet@gnu.org>
+;;; Copyright © 2015, 2016 David Thompson <davet@gnu.org>
;;;
;;; This file is part of guile-sdl2.
;;;
@@ -817,6 +817,20 @@ RETURN-TYPE and accept arguments of ARG-TYPES."
;;;
+;;; Text Input
+;;;
+
+(define-foreign sdl-start-text-input
+ void "SDL_StartTextInput" '())
+
+(define-foreign sdl-stop-text-input
+ void "SDL_StopTextInput" '())
+
+(define-foreign sdl-is-text-input-active
+ sdl-bool "SDL_IsTextInputActive" '())
+
+
+;;;
;;; Mouse
;;;