Constructor and Description |
---|
JoyButtonTrigger(int joyId,
int axisId)
Use
Joystick.assignButton(java.lang.String, int) instead. |
Modifier and Type | Method and Description |
---|---|
int |
getAxisId() |
int |
getJoyId() |
java.lang.String |
getName() |
static int |
joyButtonHash(int joyId,
int joyButton) |
int |
triggerHashCode()
Returns the hash code for the trigger.
|
public JoyButtonTrigger(int joyId, int axisId)
Joystick.assignButton(java.lang.String, int)
instead.joyId
- the ID of a joystickaxisId
- the ID of a joystick axispublic static int joyButtonHash(int joyId, int joyButton)
public int getAxisId()
public int getJoyId()
public java.lang.String getName()
public int triggerHashCode()
Trigger
triggerHashCode
in interface Trigger