com.jme.input.util
Class UtilInputHandlerDevice
java.lang.Object
com.jme.input.InputHandlerDevice
com.jme.input.util.UtilInputHandlerDevice
class UtilInputHandlerDevice
- extends InputHandlerDevice
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
DEVICE_UTIL
public static final java.lang.String DEVICE_UTIL
- See Also:
- Constant Field Values
UtilInputHandlerDevice
public UtilInputHandlerDevice()
createTriggers
protected void createTriggers(InputActionInterface action,
int axisIndex,
int buttonIndex,
boolean allowRepeats,
InputHandler inputHandler)
- Description copied from class:
InputHandlerDevice
- Creates device specific trigger(s) for specified axes and buttons (the triggers register themselves at the
inputHandler).
- Specified by:
createTriggers
in class InputHandlerDevice
- Parameters:
action
- action that will be invoked upon trigger activationaxisIndex
- axis this trigger is responsible forbuttonIndex
- button this trigger is responsible forallowRepeats
- true to allow repeatsinputHandler
- input handler for the triggers
get
static UtilInputHandlerDevice get()
- Returns:
- only instance of UtilInputHandlerDevice
addAxis
void addAxis(SyntheticAxis axis)
removeAxis
void removeAxis(SyntheticAxis axis)
addButton
void addButton(SyntheticButton button)
removeButton
void removeButton(SyntheticButton button)