From 2c5a862c99bedc9e2a825dd63a65b0452ec09e8c Mon Sep 17 00:00:00 2001 From: Brian Matzon Date: Mon, 7 Feb 2005 18:45:25 +0000 Subject: [PATCH] add comment on keyboard layout/key --- src/java/org/lwjgl/input/Keyboard.java | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/java/org/lwjgl/input/Keyboard.java b/src/java/org/lwjgl/input/Keyboard.java index 84921f8c..f5714cf5 100644 --- a/src/java/org/lwjgl/input/Keyboard.java +++ b/src/java/org/lwjgl/input/Keyboard.java @@ -439,6 +439,10 @@ public class Keyboard { } /** + * Please note that the key code returned is NOT valid against the + * current keyboard layout. To get the actual character pressed call + * getEventCharacter + * * @return The key from the current event */ public static int getEventKey() {