com.greenthrottle.gcs.api
Enum ControllerEvent.EventType
java.lang.Object
java.lang.Enum<ControllerEvent.EventType>
com.greenthrottle.gcs.api.ControllerEvent.EventType
- All Implemented Interfaces:
- java.io.Serializable, java.lang.Comparable<ControllerEvent.EventType>
- Enclosing class:
- ControllerEvent
public static enum ControllerEvent.EventType
- extends java.lang.Enum<ControllerEvent.EventType>
| Methods inherited from class java.lang.Enum |
compareTo, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
INVALID
public static final ControllerEvent.EventType INVALID
RAW
public static final ControllerEvent.EventType RAW
ANALOG_COMBINED
public static final ControllerEvent.EventType ANALOG_COMBINED
ANALOG_POLAR
public static final ControllerEvent.EventType ANALOG_POLAR
ANALOG_AS_DPAD
public static final ControllerEvent.EventType ANALOG_AS_DPAD
RESERVED
public static final ControllerEvent.EventType RESERVED
values
public static ControllerEvent.EventType[] 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 (ControllerEvent.EventType c : ControllerEvent.EventType.values())
System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in
the order they are declared
valueOf
public static ControllerEvent.EventType 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 name
java.lang.NullPointerException - if the argument is null
makeFromInt
public static ControllerEvent.EventType makeFromInt(int codeValue)