com.jme3.input.controls
Class JoyAxisTrigger
java.lang.Object
com.jme3.input.controls.JoyAxisTrigger
- All Implemented Interfaces:
- Trigger
public class JoyAxisTrigger
- extends java.lang.Object
- implements Trigger
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
JoyAxisTrigger
public JoyAxisTrigger(int joyId,
int axisId,
boolean negative)
- Use
Joystick.assignAxis(java.lang.String, java.lang.String, int)
instead.
joyAxisHash
public static int joyAxisHash(int joyId,
int joyAxis,
boolean negative)
getAxisId
public int getAxisId()
getJoyId
public int getJoyId()
isNegative
public boolean isNegative()
getName
public java.lang.String getName()
- Specified by:
getName
in interface Trigger
- Returns:
- A user friendly name for the trigger.
triggerHashCode
public int triggerHashCode()
- Description copied from interface:
Trigger
- Returns the hash code for the trigger.
- Specified by:
triggerHashCode
in interface Trigger
- Returns:
- the hash code for the trigger.