mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-01-07 01:09:56 +01:00
Tweaked KeyboardTest
This commit is contained in:
parent
6446f28cda
commit
d4b7b88366
|
|
@ -150,7 +150,7 @@ public class KeyboardTest {
|
|||
int character_code = ((int)Keyboard.getEventCharacter()) & 0xffff;
|
||||
System.out.println("Checking key:" + Keyboard.getKeyName(Keyboard.getEventKey()));
|
||||
System.out.println("Pressed:" + Keyboard.getEventKeyState());
|
||||
System.out.println("Key character code: " + character_code);
|
||||
System.out.println("Key character code: 0x" + Integer.toHexString(character_code));
|
||||
System.out.println("Key character: " + Keyboard.getEventCharacter());
|
||||
System.out.println("Repeat event: " + Keyboard.isRepeatEvent());
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue