Package ca.team3161.lib.utils.controls
Enum LogitechDualAction.LogitechButton
- java.lang.Object
-
- java.lang.Enum<LogitechDualAction.LogitechButton>
-
- ca.team3161.lib.utils.controls.LogitechDualAction.LogitechButton
-
- All Implemented Interfaces:
Gamepad.Button
,java.io.Serializable
,java.lang.Comparable<LogitechDualAction.LogitechButton>
- Enclosing class:
- LogitechDualAction
public static enum LogitechDualAction.LogitechButton extends java.lang.Enum<LogitechDualAction.LogitechButton> implements Gamepad.Button
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description A
B
LEFT_BUMPER
LEFT_STICK_CLICK
LEFT_TRIGGER
RIGHT_BUMPER
RIGHT_STICK_CLICK
RIGHT_TRIGGER
SELECT
START
X
Y
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIdentifier()
static LogitechDualAction.LogitechButton
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LogitechDualAction.LogitechButton[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
A
public static final LogitechDualAction.LogitechButton A
-
B
public static final LogitechDualAction.LogitechButton B
-
X
public static final LogitechDualAction.LogitechButton X
-
Y
public static final LogitechDualAction.LogitechButton Y
-
LEFT_STICK_CLICK
public static final LogitechDualAction.LogitechButton LEFT_STICK_CLICK
-
RIGHT_STICK_CLICK
public static final LogitechDualAction.LogitechButton RIGHT_STICK_CLICK
-
LEFT_BUMPER
public static final LogitechDualAction.LogitechButton LEFT_BUMPER
-
RIGHT_BUMPER
public static final LogitechDualAction.LogitechButton RIGHT_BUMPER
-
LEFT_TRIGGER
public static final LogitechDualAction.LogitechButton LEFT_TRIGGER
-
RIGHT_TRIGGER
public static final LogitechDualAction.LogitechButton RIGHT_TRIGGER
-
SELECT
public static final LogitechDualAction.LogitechButton SELECT
-
START
public static final LogitechDualAction.LogitechButton START
-
-
Method Detail
-
values
public static LogitechDualAction.LogitechButton[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (LogitechDualAction.LogitechButton c : LogitechDualAction.LogitechButton.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LogitechDualAction.LogitechButton valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getIdentifier
public int getIdentifier()
- Specified by:
getIdentifier
in interfaceGamepad.Button
-
-