mirror of
https://github.com/shadowfacts/lwjgl2-arm64.git
synced 2026-04-06 15:04:41 +00:00
getCharacter -> getEventCharacter
This commit is contained in:
parent
fe6db13931
commit
9adc719a08
2 changed files with 2 additions and 2 deletions
|
|
@ -475,7 +475,7 @@ public class Keyboard {
|
|||
/**
|
||||
* @return The character from the current event
|
||||
*/
|
||||
public static char getCharacter() {
|
||||
public static char getEventCharacter() {
|
||||
return eventCharacter;
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -133,7 +133,7 @@ public class KeyboardTest {
|
|||
int count = Keyboard.getNumKeyboardEvents();
|
||||
while (Keyboard.next()) {
|
||||
System.out.println("Checking key:" + Keyboard.getKeyName(Keyboard.getEventKey()));
|
||||
System.out.println("Key character: " + Keyboard.getCharacter());
|
||||
System.out.println("Key character: " + Keyboard.getEventCharacter());
|
||||
|
||||
if (Keyboard.getEventKey() == Keyboard.KEY_ESCAPE) {
|
||||
return;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue