|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TouchInput
A specific API for interfacing with smartphone touch devices
Field Summary | |
---|---|
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. |
Method Summary | |
---|---|
boolean |
getSimulateMouse()
Deprecated. Use isSimulateMouse() . |
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 |
Methods inherited from interface com.jme3.input.Input |
---|
destroy, getInputTimeNanos, initialize, isInitialized, setInputListener, update |
Field Detail |
---|
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
Method Detail |
---|
void setSimulateMouse(boolean simulate)
simulate
- if mouse events should be generated@Deprecated boolean getSimulateMouse()
isSimulateMouse()
.
boolean isSimulateMouse()
void setSimulateKeyboard(boolean simulate)
simulate
- if keyboard events should be generatedvoid setOmitHistoricEvents(boolean dontSendHistory)
dontSendHistory
- turn of historic events if true, false else and default
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |