protected class InputMapper.InputObserver
extends java.lang.Object
implements com.jme3.input.RawInputListener
Modifier | Constructor and Description |
---|---|
protected |
InputObserver() |
Modifier and Type | Method and Description |
---|---|
void |
beginInput() |
void |
endInput() |
protected void |
instantUpdate(Axis a,
double value) |
void |
onJoyAxisEvent(com.jme3.input.event.JoyAxisEvent evt) |
void |
onJoyButtonEvent(com.jme3.input.event.JoyButtonEvent evt) |
void |
onKeyEvent(com.jme3.input.event.KeyInputEvent evt) |
void |
onMouseButtonEvent(com.jme3.input.event.MouseButtonEvent evt) |
void |
onMouseMotionEvent(com.jme3.input.event.MouseMotionEvent evt) |
void |
onTouchEvent(com.jme3.input.event.TouchEvent evt) |
public void onJoyAxisEvent(com.jme3.input.event.JoyAxisEvent evt)
onJoyAxisEvent
in interface com.jme3.input.RawInputListener
public void onJoyButtonEvent(com.jme3.input.event.JoyButtonEvent evt)
onJoyButtonEvent
in interface com.jme3.input.RawInputListener
public void beginInput()
beginInput
in interface com.jme3.input.RawInputListener
public void endInput()
endInput
in interface com.jme3.input.RawInputListener
protected void instantUpdate(Axis a, double value)
public void onMouseMotionEvent(com.jme3.input.event.MouseMotionEvent evt)
onMouseMotionEvent
in interface com.jme3.input.RawInputListener
public void onMouseButtonEvent(com.jme3.input.event.MouseButtonEvent evt)
onMouseButtonEvent
in interface com.jme3.input.RawInputListener
public void onKeyEvent(com.jme3.input.event.KeyInputEvent evt)
onKeyEvent
in interface com.jme3.input.RawInputListener
public void onTouchEvent(com.jme3.input.event.TouchEvent evt)
onTouchEvent
in interface com.jme3.input.RawInputListener