Package ca.team3161.lib.utils.controls
Enum LogitechAttack3.LogitechAttack3Button
- java.lang.Object
-
- java.lang.Enum<LogitechAttack3.LogitechAttack3Button>
-
- ca.team3161.lib.utils.controls.LogitechAttack3.LogitechAttack3Button
-
- All Implemented Interfaces:
Gamepad.Button
,java.io.Serializable
,java.lang.Comparable<LogitechAttack3.LogitechAttack3Button>
- Enclosing class:
- LogitechAttack3
public static enum LogitechAttack3.LogitechAttack3Button extends java.lang.Enum<LogitechAttack3.LogitechAttack3Button> implements Gamepad.Button
.
-
-
Enum Constant Summary
Enum Constants Enum Constant Description BASE_BACK_LEFT
BASE_BACK_RIGHT
BASE_LEFT_BACK
BASE_LEFT_FRONT
BASE_RIGHT_BACK
BASE_RIGHT_FRONT
TOP_BACK
TOP_CENTER
TOP_LEFT
TOP_RIGHT
TRIGGER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getIdentifier()
static LogitechAttack3.LogitechAttack3Button
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static LogitechAttack3.LogitechAttack3Button[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
TRIGGER
public static final LogitechAttack3.LogitechAttack3Button TRIGGER
-
TOP_CENTER
public static final LogitechAttack3.LogitechAttack3Button TOP_CENTER
-
TOP_LEFT
public static final LogitechAttack3.LogitechAttack3Button TOP_LEFT
-
TOP_RIGHT
public static final LogitechAttack3.LogitechAttack3Button TOP_RIGHT
-
TOP_BACK
public static final LogitechAttack3.LogitechAttack3Button TOP_BACK
-
BASE_LEFT_FRONT
public static final LogitechAttack3.LogitechAttack3Button BASE_LEFT_FRONT
-
BASE_LEFT_BACK
public static final LogitechAttack3.LogitechAttack3Button BASE_LEFT_BACK
-
BASE_BACK_LEFT
public static final LogitechAttack3.LogitechAttack3Button BASE_BACK_LEFT
-
BASE_BACK_RIGHT
public static final LogitechAttack3.LogitechAttack3Button BASE_BACK_RIGHT
-
BASE_RIGHT_FRONT
public static final LogitechAttack3.LogitechAttack3Button BASE_RIGHT_FRONT
-
BASE_RIGHT_BACK
public static final LogitechAttack3.LogitechAttack3Button BASE_RIGHT_BACK
-
-
Method Detail
-
values
public static LogitechAttack3.LogitechAttack3Button[] 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 (LogitechAttack3.LogitechAttack3Button c : LogitechAttack3.LogitechAttack3Button.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static LogitechAttack3.LogitechAttack3Button 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
-
-