|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
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. |
メソッドの詳細 |
---|
void beginInput()
RawInputListener
.
void endInput()
RawInputListener
.
The listener should set the consumed flag
on any events that have been consumed either at this call or previous calls.
void onJoyAxisEvent(JoyAxisEvent evt)
evt
- void onJoyButtonEvent(JoyButtonEvent evt)
evt
- void onMouseMotionEvent(MouseMotionEvent evt)
evt
- void onMouseButtonEvent(MouseButtonEvent evt)
evt
- void onKeyEvent(KeyInputEvent evt)
evt
- void onTouchEvent(TouchEvent evt)
evt
-
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |