Package com.jme3.input.controls
Class JoyAxisTrigger
java.lang.Object
com.jme3.input.controls.JoyAxisTrigger
- All Implemented Interfaces:
 Trigger
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionintintgetJoyId()getName()booleanstatic intjoyAxisHash(int joyId, int joyAxis, boolean negative) intReturns the hash code for the trigger. 
- 
Constructor Details
- 
JoyAxisTrigger
public JoyAxisTrigger(int joyId, int axisId, boolean negative) - Parameters:
 joyId- which joystickaxisId- which joystick axisnegative- true to negate input values, false to leave unchanged
 
 - 
 - 
Method Details
- 
joyAxisHash
public static int joyAxisHash(int joyId, int joyAxis, boolean negative)  - 
getAxisId
public int getAxisId() - 
getJoyId
public int getJoyId() - 
isNegative
public boolean isNegative() - 
getName
 - 
triggerHashCode
public int triggerHashCode()Description copied from interface:TriggerReturns the hash code for the trigger.- Specified by:
 triggerHashCodein interfaceTrigger- Returns:
 - the hash code for the trigger.
 
 
 -