Package io.tlf.jme.jfx
Class JmeMemoryInputHandler
- java.lang.Object
-
- io.tlf.jme.jfx.JmeMemoryInputHandler
-
- All Implemented Interfaces:
com.jme3.input.RawInputListener
public class JmeMemoryInputHandler extends java.lang.Object implements com.jme3.input.RawInputListenerThisRawInputListenerwill be executed after the FX Input Listener. So pressed Keys and mouse buttons can be considered as JME Pressed Input.
-
-
Constructor Summary
Constructors Constructor Description JmeMemoryInputHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbeginInput()voidendInput()java.util.Map<java.lang.Integer,com.jme3.input.event.KeyInputEvent>getJmeKeyInputEvents()java.util.Map<java.lang.Integer,com.jme3.input.event.MouseButtonEvent>getJmeMouseButtonEvents()voidonJoyAxisEvent(com.jme3.input.event.JoyAxisEvent evt)voidonJoyButtonEvent(com.jme3.input.event.JoyButtonEvent evt)voidonKeyEvent(com.jme3.input.event.KeyInputEvent evt)voidonMouseButtonEvent(com.jme3.input.event.MouseButtonEvent evt)voidonMouseMotionEvent(com.jme3.input.event.MouseMotionEvent evt)voidonTouchEvent(com.jme3.input.event.TouchEvent evt)
-
-
-
Method Detail
-
beginInput
public void beginInput()
- Specified by:
beginInputin interfacecom.jme3.input.RawInputListener
-
endInput
public void endInput()
- Specified by:
endInputin interfacecom.jme3.input.RawInputListener
-
onJoyAxisEvent
public void onJoyAxisEvent(com.jme3.input.event.JoyAxisEvent evt)
- Specified by:
onJoyAxisEventin interfacecom.jme3.input.RawInputListener
-
onJoyButtonEvent
public void onJoyButtonEvent(com.jme3.input.event.JoyButtonEvent evt)
- Specified by:
onJoyButtonEventin interfacecom.jme3.input.RawInputListener
-
onMouseMotionEvent
public void onMouseMotionEvent(com.jme3.input.event.MouseMotionEvent evt)
- Specified by:
onMouseMotionEventin interfacecom.jme3.input.RawInputListener
-
onMouseButtonEvent
public void onMouseButtonEvent(com.jme3.input.event.MouseButtonEvent evt)
- Specified by:
onMouseButtonEventin interfacecom.jme3.input.RawInputListener
-
onKeyEvent
public void onKeyEvent(com.jme3.input.event.KeyInputEvent evt)
- Specified by:
onKeyEventin interfacecom.jme3.input.RawInputListener
-
onTouchEvent
public void onTouchEvent(com.jme3.input.event.TouchEvent evt)
- Specified by:
onTouchEventin interfacecom.jme3.input.RawInputListener
-
getJmeKeyInputEvents
public java.util.Map<java.lang.Integer,com.jme3.input.event.KeyInputEvent> getJmeKeyInputEvents()
-
getJmeMouseButtonEvents
public java.util.Map<java.lang.Integer,com.jme3.input.event.MouseButtonEvent> getJmeMouseButtonEvents()
-
-