public static enum SDL2Controller.ControllerType extends java.lang.Enum<SDL2Controller.ControllerType>
Enum Constant and Description |
---|
NINTENDO_SWITCH_PRO |
PS3 |
PS4 |
UNKNOWN |
VIRTUAL |
XBOX360 |
XBOXONE |
Modifier and Type | Method and Description |
---|---|
static SDL2Controller.ControllerType |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SDL2Controller.ControllerType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SDL2Controller.ControllerType UNKNOWN
public static final SDL2Controller.ControllerType XBOX360
public static final SDL2Controller.ControllerType XBOXONE
public static final SDL2Controller.ControllerType PS3
public static final SDL2Controller.ControllerType PS4
public static final SDL2Controller.ControllerType NINTENDO_SWITCH_PRO
public static final SDL2Controller.ControllerType VIRTUAL
public static SDL2Controller.ControllerType[] values()
for (SDL2Controller.ControllerType c : SDL2Controller.ControllerType.values()) System.out.println(c);
public static SDL2Controller.ControllerType 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