public interface TouchInput extends Input
Modifier and Type | Field and Description |
---|---|
static int |
ALL
No filter, get all events
|
static int |
KEYCODE_BACK
Escape key.
|
static int |
KEYCODE_HOME
Home key
|
static int |
KEYCODE_MENU
Context Menu key.
|
static int |
KEYCODE_SEARCH
Search key.
|
static int |
KEYCODE_VOLUME_DOWN
Volume down key.
|
static int |
KEYCODE_VOLUME_UP
Volume up key.
|
Modifier and Type | Method and Description |
---|---|
boolean |
isSimulateKeyboard() |
boolean |
isSimulateMouse() |
void |
setOmitHistoricEvents(boolean dontSendHistory)
Set if historic android events should be transmitted, can be used to get better performance and less mem
|
void |
setSimulateKeyboard(boolean simulate)
Set if keyboard events should be generated
|
void |
setSimulateMouse(boolean simulate)
Set if mouse events should be generated
|
destroy, getInputTimeNanos, initialize, isInitialized, setInputListener, update
static final int ALL
static final int KEYCODE_HOME
static final int KEYCODE_BACK
static final int KEYCODE_MENU
static final int KEYCODE_SEARCH
static final int KEYCODE_VOLUME_UP
static final int KEYCODE_VOLUME_DOWN
void setSimulateMouse(boolean simulate)
simulate
- if mouse events should be generatedboolean isSimulateMouse()
void setSimulateKeyboard(boolean simulate)
simulate
- if keyboard events should be generatedboolean isSimulateKeyboard()
void setOmitHistoricEvents(boolean dontSendHistory)
dontSendHistory
- turn of historic events if true, false else and default