public final class Input
extends java.lang.Object
Input class is the LITIengine's access point to devices that capture physical player input.
It manages input from different devices, i.e. keyboard, mouse or gamepad, and provides a unified API to access this information.mouse(),
keyboard(),
gamepads()| Modifier and Type | Class and Description |
|---|---|
static class |
Input.InputGameAdapter |
| Modifier and Type | Method and Description |
|---|---|
static GamepadManager |
gamepads() |
static IKeyboard |
keyboard() |
static IMouse |
mouse() |
public static GamepadManager gamepads()
public static IKeyboard keyboard()
public static IMouse mouse()