|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |
java.lang.Objectcom.jme3.input.event.InputEvent
com.jme3.input.event.JoyButtonEvent
public class JoyButtonEvent
Joystick button event.
コンストラクタの概要 | |
---|---|
JoyButtonEvent(int joyIdx,
int btnIdx,
boolean pressed)
|
メソッドの概要 | |
---|---|
int |
getButtonIndex()
The button index. |
int |
getJoyIndex()
The joystick index. |
boolean |
isPressed()
Returns true if the event was a button press, returns false if the event was a button release. |
クラス com.jme3.input.event.InputEvent から継承されたメソッド |
---|
getTime, isConsumed, setConsumed, setTime |
クラス java.lang.Object から継承されたメソッド |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
コンストラクタの詳細 |
---|
public JoyButtonEvent(int joyIdx, int btnIdx, boolean pressed)
メソッドの詳細 |
---|
public int getButtonIndex()
Joystick.assignButton(java.lang.String, int)
public int getJoyIndex()
InputManager#getJoysticks()
public boolean isPressed()
|
||||||||||
前のクラス 次のクラス | フレームあり フレームなし | |||||||||
概要: 入れ子 | フィールド | コンストラクタ | メソッド | 詳細: フィールド | コンストラクタ | メソッド |