diff options
author | David Thompson <dthompson@vistahigherlearning.com> | 2020-10-06 18:58:12 -0400 |
---|---|---|
committer | David Thompson <dthompson@vistahigherlearning.com> | 2020-10-06 18:58:12 -0400 |
commit | a1a001a83764a838d43cf5a38ed4e3f26df3a5d5 (patch) | |
tree | 635b1b55b1bd6823a7837e392ea736a98a0d5da9 /examples/shmup | |
parent | c808d99f048daf4284e1ab431166347dc5456706 (diff) |
scene: Remove scancode arg from key press/release methods.
Diffstat (limited to 'examples/shmup')
-rw-r--r-- | examples/shmup/shmup.scm | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/shmup/shmup.scm b/examples/shmup/shmup.scm index 135027b..b15ef7c 100644 --- a/examples/shmup/shmup.scm +++ b/examples/shmup/shmup.scm @@ -814,7 +814,7 @@ (resume (& shmup player)) (for-each resume (enemies shmup))) -(define-method (on-key-press (shmup <shmup>) key scancode modifiers repeat?) +(define-method (on-key-press (shmup <shmup>) key modifiers repeat?) (match (state shmup) ('play (match key @@ -835,7 +835,7 @@ (_ #f))) (_ #f))) -(define-method (on-key-release (shmup <shmup>) key scancode modifiers) +(define-method (on-key-release (shmup <shmup>) key modifiers) (match (state shmup) ('play (match key |