From a214f1f4dab7068f648cfde557f5aa81effa33ee Mon Sep 17 00:00:00 2001 From: lucasstarsz Date: Sun, 27 Jun 2021 14:39:50 -0400 Subject: [PATCH] update comments in keyboard example to reflect actual usage --- src/example/java/tech/fastj/example/keyboard/Main.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/example/java/tech/fastj/example/keyboard/Main.java b/src/example/java/tech/fastj/example/keyboard/Main.java index 8e857e6f..5eb76d60 100644 --- a/src/example/java/tech/fastj/example/keyboard/Main.java +++ b/src/example/java/tech/fastj/example/keyboard/Main.java @@ -35,7 +35,7 @@ public void init(Display display) { * - onKeyDown: this method is called when a key is held down. * - onKeyRecentlyPressed: this method is called when a key is first pressed. * - onKeyReleased: this method is called when a key is released. - * - onKeyTyped: this method is called when a key is pressed and released. + * - onKeyTyped: this method is called when a key is typed -- first pressed or held down. * * To demonstrate each method, I've chosen to log whenever any of the methods is called. Run the program to see * this in action. */