Package com.jme3.input.controls
Class JoyButtonTrigger
java.lang.Object
com.jme3.input.controls.JoyButtonTrigger
- All Implemented Interfaces:
- Trigger
- 
Constructor SummaryConstructorsConstructorDescriptionJoyButtonTrigger(int joyId, int buttonId) UseJoystick.assignButton(java.lang.String, int)instead.
- 
Method SummaryModifier and TypeMethodDescriptionintintgetJoyId()getName()static intjoyButtonHash(int joyId, int joyButton) intReturns the hash code for the trigger.
- 
Constructor Details- 
JoyButtonTriggerpublic JoyButtonTrigger(int joyId, int buttonId) UseJoystick.assignButton(java.lang.String, int)instead.- Parameters:
- joyId- the ID of a joystick
- buttonId- the index of a joystick button
 
 
- 
- 
Method Details- 
joyButtonHashpublic static int joyButtonHash(int joyId, int joyButton) 
- 
getAxisIdpublic int getAxisId()
- 
getJoyIdpublic int getJoyId()
- 
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.
 
 
-