public enum InputMode extends Enum<InputMode>
| Enum Constant and Description |
|---|
CONTROLLER |
KEYBOARD_MOUSE |
TOUCH |
UNKNOWN |
VR |
| Modifier and Type | Method and Description |
|---|---|
static InputMode |
getById(int id)
Get the InputMode instance from the identifier.
|
static InputMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static InputMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final InputMode UNKNOWN
public static final InputMode KEYBOARD_MOUSE
public static final InputMode TOUCH
public static final InputMode CONTROLLER
public static final InputMode VR
public static InputMode[] values()
for (InputMode c : InputMode.values()) System.out.println(c);
public static InputMode valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2021 GeyserMC. All rights reserved.