com.jme.input
Class InputSystem
java.lang.Object
com.jme.input.InputSystem
public class InputSystem
- extends java.lang.Object
InputSystem creates the required input objects (mouse and
keyboard, disabled by default: joystick) depending on the API desired for the handling
of the input. This will allow the client application to only deal with
KeyInput, MouseInput and JoystickInput not
having to worry about the API specifics.
- Version:
- $Id: InputSystem.java 4131 2009-03-19 20:15:28Z blaine.dev $
- Author:
- Mark Powell
- See Also:
KeyInput,
MouseInput
|
Method Summary |
static void |
update()
Update the core input system - mouse, keyboard and joystick. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
INPUT_SYSTEM_LWJGL
public static final java.lang.String INPUT_SYSTEM_LWJGL
- See Also:
- Constant Field Values
INPUT_SYSTEM_AWT
public static final java.lang.String INPUT_SYSTEM_AWT
- See Also:
- Constant Field Values
INPUT_SYSTEM_DUMMY
public static final java.lang.String INPUT_SYSTEM_DUMMY
- See Also:
- Constant Field Values
InputSystem
public InputSystem()
update
public static void update()
- Update the core input system - mouse, keyboard and joystick.
Thus all events are handled within this method call.
To disable joystick support call JoystickInput.setProvider(String) with INPUT_SYSTEM_DUMMY as
parameter proir to creating the display.
- See Also:
KeyInput.update(),
MouseInput.update(),
Input.update()