aboutsummaryrefslogtreecommitdiff
path: root/src/inputmap.scm
diff options
context:
space:
mode:
Diffstat (limited to 'src/inputmap.scm')
-rw-r--r--src/inputmap.scm14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/inputmap.scm b/src/inputmap.scm
new file mode 100644
index 0000000..5328e35
--- /dev/null
+++ b/src/inputmap.scm
@@ -0,0 +1,14 @@
+(module inputmap
+*
+(import scheme
+ defstruct
+ (prefix sdl2 "sdl2:"))
+
+(define-syntax defkeymap
+ (syntax-rules ()
+ ((defkeymap name
+ (state (key ...)) ...)
+ (define name ))))
+
+
+)