public interface TouchInput extends Input
| Modifier and Type | Field and Description | 
|---|---|
| static int | ALLNo filter, get all events | 
| static int | KEYCODE_BACKEscape key. | 
| static int | KEYCODE_HOMEHome key | 
| static int | KEYCODE_MENUContext Menu key. | 
| static int | KEYCODE_SEARCHSearch key. | 
| static int | KEYCODE_VOLUME_DOWNVolume down key. | 
| static int | KEYCODE_VOLUME_UPVolume 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, updatestatic 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