diff options
author | David Thompson <dthompson2@worcester.edu> | 2013-07-21 22:22:23 -0400 |
---|---|---|
committer | David Thompson <dthompson2@worcester.edu> | 2013-07-21 22:22:23 -0400 |
commit | 3ae0550bc73ab825a65d98eeda1c2d2431c4ecfb (patch) | |
tree | 3bc4efe58f617c5f36d598579722a32e03ad6eab /examples/animation.scm | |
parent | 1690105218d8ec77abc31bcbecfc6794a9be0a14 (diff) |
Update examples to reflect changes in keyboard events.
Diffstat (limited to 'examples/animation.scm')
-rw-r--r-- | examples/animation.scm | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/examples/animation.scm b/examples/animation.scm index df713c5..b27d07f 100644 --- a/examples/animation.scm +++ b/examples/animation.scm @@ -2,7 +2,6 @@ (2d game-loop) (2d window) (2d vector) - (2d input) (2d helpers)) (init-2d) @@ -12,7 +11,7 @@ (define sprite #f) (define (key-down key mod unicode) - (cond ((any-equal? key (keycode escape) (keycode q)) + (cond ((any-equal? key 'escape 'q) (close-window) (quit)))) |