public interface Input
MouseInput,
KeyInput,
JoyInput| Modifier and Type | Method and Description |
|---|---|
void |
destroy()
Ceases listening to events from the device.
|
long |
getInputTimeNanos() |
void |
initialize()
Initializes the native side to listen into events from the device.
|
boolean |
isInitialized() |
void |
setInputListener(RawInputListener listener)
Sets the input listener to receive events from this device.
|
void |
update()
Queries the device for input.
|
void initialize()
void update()
void destroy()
boolean isInitialized()
initialize(),
destroy()void setInputListener(RawInputListener listener)
listener - the desired listenerlong getInputTimeNanos()