summaryrefslogtreecommitdiff
path: root/examples/tiled.scm
diff options
context:
space:
mode:
authorDavid Thompson <dthompson2@worcester.edu>2020-11-16 17:23:16 -0500
committerDavid Thompson <dthompson2@worcester.edu>2020-11-16 17:27:10 -0500
commitba0c8932395a05187824ce2835eb33331967a45a (patch)
tree22eaafd293bf1212fb969125e2162740bebf46a3 /examples/tiled.scm
parentf2f23c968ccc3e16163ad561cb3395bd2e02f966 (diff)
Remove scancode argument from key-press and key-release handlers.
Diffstat (limited to 'examples/tiled.scm')
-rw-r--r--examples/tiled.scm2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/tiled.scm b/examples/tiled.scm
index e1bf22a..c64f7b6 100644
--- a/examples/tiled.scm
+++ b/examples/tiled.scm
@@ -20,7 +20,7 @@
(draw-text text text-position))
(define inc 8.0)
-(define (key-press key scancode modifiers repeat?)
+(define (key-press key modifiers repeat?)
(match key
('up (set-vec2-y! camera (- (vec2-y camera) inc)))
('down (set-vec2-y! camera (+ (vec2-y camera) inc)))