Package com.jme3.input
Interface RawInputListener
- All Known Implementing Classes:
- InputManager,- InputSystemJme
public interface RawInputListener
An interface used for receiving raw input from devices.
- 
Method SummaryModifier and TypeMethodDescriptionvoidCalled before a batch of input will be sent to thisRawInputListener.voidendInput()Called after a batch of input was sent to thisRawInputListener.voidInvoked on joystick axis events.voidInvoked on joystick button presses.voidonKeyEvent(KeyInputEvent evt) Invoked on keyboard key press or release events.voidInvoked on mouse button events.voidInvoked on mouse movement/motion events.voidonTouchEvent(TouchEvent evt) Invoked on touchscreen touch events.
- 
Method Details- 
beginInputvoid beginInput()Called before a batch of input will be sent to thisRawInputListener.
- 
endInputvoid endInput()Called after a batch of input was sent to thisRawInputListener. The listener should set theconsumed flagon any events that have been consumed either at this call or previous calls.
- 
onJoyAxisEventInvoked on joystick axis events.- Parameters:
- evt- information about the event
 
- 
onJoyButtonEventInvoked on joystick button presses.- Parameters:
- evt- information about the event
 
- 
onMouseMotionEventInvoked on mouse movement/motion events.- Parameters:
- evt- information about the event
 
- 
onMouseButtonEventInvoked on mouse button events.- Parameters:
- evt- information about the event
 
- 
onKeyEventInvoked on keyboard key press or release events.- Parameters:
- evt- information about the event
 
- 
onTouchEventInvoked on touchscreen touch events.- Parameters:
- evt- information about the event
 
 
-