public class DummyInput extends java.lang.Object implements Input
Input that raises no
input events.| Modifier and Type | Field and Description |
|---|---|
protected boolean |
inited |
| Constructor and Description |
|---|
DummyInput() |
| 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.
|
public void initialize()
Inputinitialize in interface Inputpublic void update()
Inputupdate in interface InputInput.setInputListener(com.jme3.input.RawInputListener)public void destroy()
Inputpublic boolean isInitialized()
isInitialized in interface InputInput.initialize(),
Input.destroy()public void setInputListener(RawInputListener listener)
InputsetInputListener in interface Inputlistener - the desired listenerpublic long getInputTimeNanos()
getInputTimeNanos in interface Input