com.jme3.input
インタフェース RawInputListener

既知の実装クラスの一覧:
InputManager, InputSystemJme

public interface RawInputListener

An interface used for receiving raw input from devices.


メソッドの概要
 void beginInput()
          Called before a batch of input will be sent to this RawInputListener.
 void endInput()
          Called after a batch of input was sent to this RawInputListener.
 void onJoyAxisEvent(JoyAxisEvent evt)
          Invoked on joystick axis events.
 void onJoyButtonEvent(JoyButtonEvent evt)
          Invoked on joystick button presses.
 void onKeyEvent(KeyInputEvent evt)
          Invoked on keyboard key press or release events.
 void onMouseButtonEvent(MouseButtonEvent evt)
          Invoked on mouse button events.
 void onMouseMotionEvent(MouseMotionEvent evt)
          Invoked on mouse movement/motion events.
 void onTouchEvent(TouchEvent evt)
          Invoked on touchscreen touch events.
 

メソッドの詳細

beginInput

void beginInput()
Called before a batch of input will be sent to this RawInputListener.


endInput

void endInput()
Called after a batch of input was sent to this RawInputListener. The listener should set the consumed flag on any events that have been consumed either at this call or previous calls.


onJoyAxisEvent

void onJoyAxisEvent(JoyAxisEvent evt)
Invoked on joystick axis events.

パラメータ:
evt -

onJoyButtonEvent

void onJoyButtonEvent(JoyButtonEvent evt)
Invoked on joystick button presses.

パラメータ:
evt -

onMouseMotionEvent

void onMouseMotionEvent(MouseMotionEvent evt)
Invoked on mouse movement/motion events.

パラメータ:
evt -

onMouseButtonEvent

void onMouseButtonEvent(MouseButtonEvent evt)
Invoked on mouse button events.

パラメータ:
evt -

onKeyEvent

void onKeyEvent(KeyInputEvent evt)
Invoked on keyboard key press or release events.

パラメータ:
evt -

onTouchEvent

void onTouchEvent(TouchEvent evt)
Invoked on touchscreen touch events.

パラメータ:
evt -