|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jme3.input.event.InputEvent
com.jme3.input.event.JoyAxisEvent
public class JoyAxisEvent
Joystick axis event.
Field Summary |
---|
Fields inherited from class com.jme3.input.event.InputEvent |
---|
consumed, time |
Constructor Summary | |
---|---|
JoyAxisEvent(int joyIdx,
int axisIdx,
float value)
|
Method Summary | |
---|---|
int |
getAxisIndex()
Returns the joystick axis index. |
int |
getJoyIndex()
The joystick index. |
float |
getValue()
The value of the axis. |
Methods inherited from class com.jme3.input.event.InputEvent |
---|
getTime, isConsumed, setConsumed, setTime |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public JoyAxisEvent(int joyIdx, int axisIdx, float value)
Method Detail |
---|
public int getAxisIndex()
Joystick.assignAxis(java.lang.String, java.lang.String, int)
public int getJoyIndex()
InputManager.getJoysticks()
public float getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |