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