Package org.lwjglx.input
Class KeyEventQueue
java.lang.Object
org.lwjglx.input.KeyEventQueue
public final class KeyEventQueue
extends java.lang.Object
-
Field Summary
Fields Modifier and Type Field Description static int
MAX_EVENTS
-
Constructor Summary
Constructors Constructor Description KeyEventQueue()
-
Method Summary
Modifier and Type Method Description void
addCharEvent(char char1)
void
addKeyEvent(int int1, int int2)
char
getEventCharacter()
int
getEventKey()
boolean
getEventKeyState()
long
getEventNanoseconds()
boolean
next()
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Field Details
-
MAX_EVENTS
public static final int MAX_EVENTS- See Also:
- Constant Field Values
-
-
Constructor Details
-
KeyEventQueue
public KeyEventQueue()
-
-
Method Details
-
addKeyEvent
public void addKeyEvent(int int1, int int2) -
addCharEvent
public void addCharEvent(char char1) -
next
public boolean next() -
getEventKey
public int getEventKey() -
getEventCharacter
public char getEventCharacter() -
getEventKeyState
public boolean getEventKeyState() -
getEventNanoseconds
public long getEventNanoseconds()
-