Enum Class DualSenseEdgeController.Button
java.lang.Object
java.lang.Enum<DualSenseEdgeController.Button>
org.wpilib.driverstation.DualSenseEdgeController.Button
- All Implemented Interfaces:
Serializable, Comparable<DualSenseEdgeController.Button>, Constable
- Enclosing class:
DualSenseEdgeController
Represents a digital button on a DualSenseEdgeController.
-
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.Left Function button.Left Paddle 1 button.Microphone button.Options button.PS button.R 1 button.R 3 button.Right Function button.Right Paddle 1 button.Square button.Touchpad button.Triangle button. -
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptiontoString()Returns the enum constant of this class with the specified name.static DualSenseEdgeController.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. -
RIGHT_PADDLE_1
Right Paddle 1 button. -
LEFT_PADDLE_1
Left Paddle 1 button. -
TOUCHPAD
Touchpad button. -
LEFT_FUNCTION
Left Function button. -
RIGHT_FUNCTION
Right Function 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<DualSenseEdgeController.Button>
-