com.jme.input.keyboard
Class KeyboardInputHandlerDevice
java.lang.Object
com.jme.input.InputHandlerDevice
com.jme.input.keyboard.KeyboardInputHandlerDevice
public class KeyboardInputHandlerDevice
- extends InputHandlerDevice
Creates InputHandler triggers for keyboard support.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
KeyboardInputHandlerDevice
public KeyboardInputHandlerDevice()
createTriggers
protected void createTriggers(InputActionInterface action,
int axis,
int button,
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 activationaxis
- axis this trigger is responsible forbutton
- button this trigger is responsible forallowRepeats
- true to allow repeatsinputHandler
- input handler for the triggers
getKeyboardListener
public TriggersKeyboardInputListener getKeyboardListener()