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()
Input
initialize
in interface Input
public void update()
Input
update
in interface Input
Input.setInputListener(com.jme3.input.RawInputListener)
public void destroy()
Input
public boolean isInitialized()
isInitialized
in interface Input
Input.initialize()
,
Input.destroy()
public void setInputListener(RawInputListener listener)
Input
setInputListener
in interface Input
listener
- the desired listenerpublic long getInputTimeNanos()
getInputTimeNanos
in interface Input