|
j3d.org Code | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.j3d.device.input.DeviceState org.j3d.device.input.GenericHIDState org.j3d.device.input.GamepadState
public class GamepadState
Holds a single gamepad state.
Field Summary | |
---|---|
boolean |
l1Button
The l1Button value |
boolean |
l1Button_changed
The l1Button value |
float |
leftHatX
The leftHatX value |
boolean |
leftHatX_changed
The leftHatX value |
float |
leftHatY
The leftHatY value |
boolean |
leftHatY_changed
The leftHatY value |
float |
leftStickX
The leftStickX value |
boolean |
leftStickX_changed
The leftStickX value |
float |
leftStickY
The leftStickY value |
boolean |
leftStickY_changed
The leftStickY value |
boolean |
r1Button
The r1Button value |
boolean |
r1Button_changed
The r1Button value |
float |
rightStickX
The rightStickX value |
boolean |
rightStickX_changed
The rightStickX value |
float |
rightStickY
The rightStickY value |
boolean |
rightStickY_changed
The rightStickY value |
boolean |
startButton
The startButton value |
boolean |
startButton_changed
The startButton value |
float |
throttleSlider
The throttleSlider value |
boolean |
throttleSlider_changed
The throttleSlider value |
Fields inherited from class org.j3d.device.input.GenericHIDState |
---|
axisValue, changeValue |
Constructor Summary | |
---|---|
GamepadState()
|
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 boolean l1Button
public float leftHatX
public float leftHatY
public boolean r1Button
public float leftStickX
public float leftStickY
public float rightStickX
public float rightStickY
public boolean startButton
public float throttleSlider
public boolean l1Button_changed
public boolean leftHatX_changed
public boolean leftHatY_changed
public boolean r1Button_changed
public boolean leftStickX_changed
public boolean leftStickY_changed
public boolean rightStickX_changed
public boolean rightStickY_changed
public boolean startButton_changed
public boolean throttleSlider_changed
Constructor Detail |
---|
public GamepadState()
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 |