summaryrefslogtreecommitdiff
path: root/starling/scene.scm
diff options
context:
space:
mode:
Diffstat (limited to 'starling/scene.scm')
-rw-r--r--starling/scene.scm12
1 files changed, 6 insertions, 6 deletions
diff --git a/starling/scene.scm b/starling/scene.scm
index afe3827..7412727 100644
--- a/starling/scene.scm
+++ b/starling/scene.scm
@@ -78,10 +78,10 @@
(define-method (on-quit (scene <scene>))
(abort-game))
-(define-method (on-key-press (scene <scene>) key scancode modifiers repeat?)
+(define-method (on-key-press (scene <scene>) key modifiers repeat?)
#t)
-(define-method (on-key-release (scene <scene>) key scancode modifiers)
+(define-method (on-key-release (scene <scene>) key modifiers)
#t)
(define-method (on-text-input (scene <scene>) text)
@@ -164,11 +164,11 @@
(define-method (on-quit (mux <scene-mux>))
(on-quit (current-scene mux)))
-(define-method (on-key-press (mux <scene-mux>) key scancode modifiers repeat?)
- (on-key-press (current-scene mux) key scancode modifiers repeat?))
+(define-method (on-key-press (mux <scene-mux>) key modifiers repeat?)
+ (on-key-press (current-scene mux) key modifiers repeat?))
-(define-method (on-key-release (mux <scene-mux>) key scancode modifiers)
- (on-key-release (current-scene mux) key scancode modifiers))
+(define-method (on-key-release (mux <scene-mux>) key modifiers)
+ (on-key-release (current-scene mux) key modifiers))
(define-method (on-text-input (mux <scene-mux>) text)
(on-text-input (current-scene mux) text))