public enum PS4Button extends java.lang.Enum<PS4Button> implements ControllerButton
Enum Constant and Description |
---|
CIRCLE |
DOWN |
L1 |
L2 |
L3 |
LEFT |
OPTIONS |
PS |
R1 |
R2 |
R3 |
RIGHT |
SHARE |
SQUARE |
TOUCHPAD |
TRIANGLE |
UP |
X |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(ControllerButton controllerButton) |
static PS4Button |
fromAbsoluteValue(java.lang.String value) |
java.lang.String |
getAbsoluteValue() |
static PS4Button |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PS4Button[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PS4Button UP
public static final PS4Button DOWN
public static final PS4Button LEFT
public static final PS4Button RIGHT
public static final PS4Button X
public static final PS4Button SQUARE
public static final PS4Button CIRCLE
public static final PS4Button TRIANGLE
public static final PS4Button L1
public static final PS4Button R1
public static final PS4Button L2
public static final PS4Button R2
public static final PS4Button L3
public static final PS4Button R3
public static final PS4Button PS
public static final PS4Button SHARE
public static final PS4Button OPTIONS
public static final PS4Button TOUCHPAD
public static PS4Button[] values()
for (PS4Button c : PS4Button.values()) System.out.println(c);
public static PS4Button 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 nullpublic java.lang.String getAbsoluteValue()
getAbsoluteValue
in interface ControllerButton
public boolean equals(ControllerButton controllerButton)
equals
in interface ControllerButton
public static PS4Button fromAbsoluteValue(java.lang.String value)