public static enum SDL2ControllerManager.InputPreference extends java.lang.Enum<SDL2ControllerManager.InputPreference>
Enum Constant and Description |
---|
DIRECT_INPUT |
RAW_INPUT |
XINPUT |
Modifier and Type | Method and Description |
---|---|
static SDL2ControllerManager.InputPreference |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SDL2ControllerManager.InputPreference[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SDL2ControllerManager.InputPreference XINPUT
public static final SDL2ControllerManager.InputPreference DIRECT_INPUT
public static final SDL2ControllerManager.InputPreference RAW_INPUT
public static SDL2ControllerManager.InputPreference[] values()
for (SDL2ControllerManager.InputPreference c : SDL2ControllerManager.InputPreference.values()) System.out.println(c);
public static SDL2ControllerManager.InputPreference valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null