diff --git a/doc/Keyboard.md b/doc/Keyboard.md index 0e0e4550..1e60b44c 100644 --- a/doc/Keyboard.md +++ b/doc/Keyboard.md @@ -23,7 +23,7 @@ public class GlobalKeyListenerExample implements NativeKeyListener { } public void nativeKeyTyped(NativeKeyEvent e) { - System.out.println("Key Typed: " + e.getKeyText(e.getKeyCode())); + System.out.println("Key Typed: " + NativeKeyEvent.getKeyText(e.getKeyCode())); } public static void main(String[] args) {