Enum Class DualSenseController.Button
- All Implemented Interfaces:
Serializable, Comparable<DualSenseController.Button>, Constable
- Enclosing class:
DualSenseController
Represents a digital button on a DualSenseController.
-
Nested Class Summary
Nested classes/interfaces inherited from class Enum
Enum.EnumDesc<E> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCircle button.Create button.Cross button.Dpad Down button.Dpad Left button.Dpad Right button.Dpad Up button.L 1 button.L 3 button.Microphone button.Options button.PS button.R 1 button.R 3 button.Square button.Touchpad button.Triangle button. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiontoString()static DualSenseController.ButtonReturns the enum constant of this class with the specified name.static DualSenseController.Button[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
CROSS
Cross button. -
CIRCLE
Circle button. -
SQUARE
Square button. -
TRIANGLE
Triangle button. -
CREATE
Create button. -
PS
PS button. -
OPTIONS
Options button. -
L3
L 3 button. -
R3
R 3 button. -
L1
L 1 button. -
R1
R 1 button. -
DPAD_UP
Dpad Up button. -
DPAD_DOWN
Dpad Down button. -
DPAD_LEFT
Dpad Left button. -
DPAD_RIGHT
Dpad Right button. -
MICROPHONE
Microphone button. -
TOUCHPAD
Touchpad button.
-
-
Field Details
-
value
public final int valueButton value.
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
toString
- Overrides:
toStringin classEnum<DualSenseController.Button>
-