Constructor and Description |
---|
JoyAxisTrigger(int joyId,
int axisId,
boolean negative)
|
Modifier and Type | Method and Description |
---|---|
int |
getAxisId() |
int |
getJoyId() |
java.lang.String |
getName() |
boolean |
isNegative() |
static int |
joyAxisHash(int joyId,
int joyAxis,
boolean negative) |
int |
triggerHashCode()
Returns the hash code for the trigger.
|
public JoyAxisTrigger(int joyId, int axisId, boolean negative)
joyId
- which joystickaxisId
- which joystick axisnegative
- true to negate input values, false to leave unchangedpublic static int joyAxisHash(int joyId, int joyAxis, boolean negative)
public int getAxisId()
public int getJoyId()
public boolean isNegative()
public java.lang.String getName()
public int triggerHashCode()
Trigger
triggerHashCode
in interface Trigger