com.jme3.input.event
クラス JoyAxisEvent

java.lang.Object
  上位を拡張 com.jme3.input.event.InputEvent
      上位を拡張 com.jme3.input.event.JoyAxisEvent

public class JoyAxisEvent
extends InputEvent

Joystick axis event.


コンストラクタの概要
JoyAxisEvent(int joyIdx, int axisIdx, float value)
           
 
メソッドの概要
 int getAxisIndex()
          Returns the joystick axis index.
 int getJoyIndex()
          The joystick index.
 float getValue()
          The value of the axis.
 
クラス com.jme3.input.event.InputEvent から継承されたメソッド
getTime, isConsumed, setConsumed, setTime
 
クラス java.lang.Object から継承されたメソッド
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

コンストラクタの詳細

JoyAxisEvent

public JoyAxisEvent(int joyIdx,
                    int axisIdx,
                    float value)
メソッドの詳細

getAxisIndex

public int getAxisIndex()
Returns the joystick axis index.

戻り値:
joystick axis index.
関連項目:
Joystick.assignAxis(java.lang.String, java.lang.String, int)

getJoyIndex

public int getJoyIndex()
The joystick index.

戻り値:
joystick index.
関連項目:
InputManager.getJoysticks()

getValue

public float getValue()
The value of the axis.

戻り値:
value of the axis.