From 2751b1a7380d52ff14e1cd50eac8f042252a02ac Mon Sep 17 00:00:00 2001 From: David Thompson Date: Wed, 16 Dec 2015 12:38:38 -0500 Subject: Add event bindings. So far, only window and keyboard events are handled. More to come in future patches. This patch adds a *ton* of constants that I'm not going to mention in this log because it would be too damn long. * sdl2/bindings.scm (sdl-poll-event): New procedure. * sdl2/events.scm: New file. * Makefile.am (SOURCES): Add it. --- Makefile.am | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Makefile.am') diff --git a/Makefile.am b/Makefile.am index 543b734..80512fc 100644 --- a/Makefile.am +++ b/Makefile.am @@ -46,7 +46,8 @@ SOURCES = \ sdl2/bindings.scm \ sdl2/surface.scm \ sdl2/render.scm \ - sdl2/video.scm + sdl2/video.scm \ + sdl2/events.scm EXTRA_DIST += \ pre-inst-env.in \ -- cgit v1.2.3