public final class Input
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static IGamepadManager |
gamepadManager() |
static java.util.List<IGamepad> |
gamepads() |
static IGamepad |
getGamepad()
Gets the first game pad that is currently available.
|
static IGamepad |
getGamepad(int index)
Gets the game pad with the specified index if it is still plugged in.
|
static IGameLoop |
getLoop() |
static void |
init() |
static IKeyboard |
keyboard() |
static IMouse |
mouse() |
static void |
start() |
static void |
terminate() |
public static void init() throws java.awt.AWTException
java.awt.AWTException
public static void start()
public static void terminate()
public static IGameLoop getLoop()
public static IGamepadManager gamepadManager()
public static IKeyboard keyboard()
public static IMouse mouse()
public static java.util.List<IGamepad> gamepads()
public static IGamepad getGamepad()
IGamepad
instancepublic static IGamepad getGamepad(int index)