From b833f588b3d9528e7fc650d841ee7a46b6c0ba78 Mon Sep 17 00:00:00 2001 From: David Thompson Date: Fri, 30 Dec 2016 11:19:48 -0500 Subject: Add bindings for text input event handling. * sdl2/bindings.scm (sdl-start-text-input, sdl-stop-text-input, sdl-is-text-input-active): New procedures. * sdl2/events.scm (): New record type. (make-text-input-event, text-input-event?, text-input-event-timestamp, text-input-event-window-id, text-input-event-text, parse-text-input-event): New procedures. * sdl2/input/text.scm: New file. * Makefile.am (SOURCES): Add it. --- Makefile.am | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 5428b13..9bddc71 100644 --- a/Makefile.am +++ b/Makefile.am @@ -1,5 +1,5 @@ # guile-sdl2 --- FFI bindings for SDL2 -# Copyright © 2015 David Thompson +# Copyright © 2015, 2016 David Thompson # # This file is part of guile-sdl2. # @@ -47,7 +47,8 @@ SOURCES = \ sdl2/surface.scm \ sdl2/render.scm \ sdl2/video.scm \ - sdl2/events.scm + sdl2/events.scm \ + sdl2/input/text.scm if WITH_LIBSDL2_IMAGE -- cgit v1.2.3