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