Constructor and Description |
---|
JoyButtonTrigger(int joyId,
int buttonId)
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 buttonId)
Joystick.assignButton(java.lang.String, int)
instead.joyId
- the ID of a joystickbuttonId
- the index of a joystick buttonpublic 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