public class JMEDirectSimulator extends AbstractDirectMultiTouchSimulator
| Constructor and Description |
|---|
JMEDirectSimulator(com.jme3.input.InputManager inputManager,
int displayWidth,
int displayHeight)
Instantiates a new JME direct simulator.
|
| Modifier and Type | Method and Description |
|---|---|
void |
endListening()
Stop the listener from running
|
boolean |
requiresMouseDisplay()
Should the mouse be shown or hidden?
|
void |
update(float tpf)
Some sources run in a separate thread.
|
deleteCursor, deleteTwoCursors, newCursor, updateCursor, updateTwoCursorsclearCursor, getCurrentCursor, getNewCursorID, keyPressed, keyReleased, mouseDragged, mouseMoved, mousePressed, mouseReleased, registerMultiTouchEventListener, registerMultiTouchEventListener, setClickSensitivity, unregisterMultiTouchEventListenerpublic JMEDirectSimulator(com.jme3.input.InputManager inputManager,
int displayWidth,
int displayHeight)
inputManager - the input managerdisplayWidth - the display widthdisplayHeight - the display heightpublic void endListening()
IMultiTouchInputSourcepublic boolean requiresMouseDisplay()
IMultiTouchInputSourcepublic void update(float tpf)
IMultiTouchInputSource