|
j3d.org Code | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.j3d.device.input.DeviceState
org.j3d.device.input.GenericHIDState
org.j3d.device.input.JoystickState
public class JoystickState
Holds a single Joystick state.
| Field Summary | |
|---|---|
float |
hatX
The hatX value |
boolean |
hatX_changed
Did the hatX value change |
float |
hatY
The hatY value |
boolean |
hatY_changed
Did the hatY value change |
float |
stickX
The stickX value |
boolean |
stickX_changed
Did the stickX value change |
float |
stickY
The stickY value |
boolean |
stickY_changed
Did the stickY value change |
float |
stickZ
The stickY value |
boolean |
stickZ_changed
Did the stickZ value change |
float |
throttleSlider
The throttleSlider value |
boolean |
throttleSlider_changed
Did the throttleSlider value change |
boolean |
triggerButton
The triggerButton value |
boolean |
triggerButton_changed
Did triggerButton value change |
| Fields inherited from class org.j3d.device.input.GenericHIDState |
|---|
axisValue, changeValue |
| Constructor Summary | |
|---|---|
JoystickState()
|
|
| Method Summary | |
|---|---|
void |
clearChanged()
Clear changed flags. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public float stickX
public float stickY
public float stickZ
public float hatX
public float hatY
public float throttleSlider
public boolean throttleSlider_changed
public boolean triggerButton
public boolean triggerButton_changed
public boolean hatX_changed
public boolean hatY_changed
public boolean stickX_changed
public boolean stickY_changed
public boolean stickZ_changed
| Constructor Detail |
|---|
public JoystickState()
| Method Detail |
|---|
public void clearChanged()
clearChanged in class DeviceState
|
j3d.org Code | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||