|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||
java.lang.Objectjava.lang.Enum<ControllerEvent.CommonCodes>
com.greenthrottle.gcs.api.ControllerEvent.CommonCodes
public static enum ControllerEvent.CommonCodes
Indicates the controller button, stick, or trigger that caused the event
| Method Summary | |
|---|---|
boolean |
isEqual(java.lang.Object o)
|
static ControllerEvent.CommonCodes |
makeFromInt(int codeValue)
Used internally as part of IPC to regenerate event object |
static ControllerEvent.CommonCodes[] |
makeFromIntAllAlternatives(int codeValue)
Used internally as part of IPC to regenerate event object |
java.lang.String |
n()
|
int |
v()
|
static ControllerEvent.CommonCodes |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static ControllerEvent.CommonCodes[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| 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 |
| Enum Constant Detail |
|---|
public static final ControllerEvent.CommonCodes __FIRST__
public static final ControllerEvent.CommonCodes INVALID
public static final ControllerEvent.CommonCodes __BUTTONS_BEGIN__
public static final ControllerEvent.CommonCodes A_BUTTON
public static final ControllerEvent.CommonCodes B_BUTTON
public static final ControllerEvent.CommonCodes C_BUTTON
public static final ControllerEvent.CommonCodes D_BUTTON
public static final ControllerEvent.CommonCodes X_BUTTON
public static final ControllerEvent.CommonCodes Y_BUTTON
public static final ControllerEvent.CommonCodes BUTTON_1
public static final ControllerEvent.CommonCodes BUTTON_2
public static final ControllerEvent.CommonCodes BUTTON_3
public static final ControllerEvent.CommonCodes BUTTON_4
public static final ControllerEvent.CommonCodes START_BUTTON
public static final ControllerEvent.CommonCodes BACK_BUTTON
public static final ControllerEvent.CommonCodes HOME_BUTTON
public static final ControllerEvent.CommonCodes R1_BUTTON
public static final ControllerEvent.CommonCodes R2_BUTTON
public static final ControllerEvent.CommonCodes R3_BUTTON
public static final ControllerEvent.CommonCodes L1_BUTTON
public static final ControllerEvent.CommonCodes L2_BUTTON
public static final ControllerEvent.CommonCodes L3_BUTTON
public static final ControllerEvent.CommonCodes __BUTTONS_END__
public static final ControllerEvent.CommonCodes __DPAD_BEGIN__
public static final ControllerEvent.CommonCodes DPAD_UP
public static final ControllerEvent.CommonCodes DPAD_RIGHT
public static final ControllerEvent.CommonCodes DPAD_DOWN
public static final ControllerEvent.CommonCodes DPAD_LEFT
public static final ControllerEvent.CommonCodes __DPAD_END__
public static final ControllerEvent.CommonCodes __ANALOG_DPAD_BEGIN__
public static final ControllerEvent.CommonCodes LEFT_ANALOG_AS_DPAD_UP
public static final ControllerEvent.CommonCodes LEFT_ANALOG_AS_DPAD_RIGHT
public static final ControllerEvent.CommonCodes LEFT_ANALOG_AS_DPAD_DOWN
public static final ControllerEvent.CommonCodes LEFT_ANALOG_AS_DPAD_LEFT
public static final ControllerEvent.CommonCodes RIGHT_ANALOG_AS_DPAD_UP
public static final ControllerEvent.CommonCodes RIGHT_ANALOG_AS_DPAD_RIGHT
public static final ControllerEvent.CommonCodes RIGHT_ANALOG_AS_DPAD_DOWN
public static final ControllerEvent.CommonCodes RIGHT_ANALOG_AS_DPAD_LEFT
public static final ControllerEvent.CommonCodes __ANALOG_DPAD_END__
public static final ControllerEvent.CommonCodes __ANALOG_BEGIN__
public static final ControllerEvent.CommonCodes LEFT_ANALOG
public static final ControllerEvent.CommonCodes RIGHT_ANALOG
public static final ControllerEvent.CommonCodes L2_ANALOG
public static final ControllerEvent.CommonCodes R2_ANALOG
public static final ControllerEvent.CommonCodes __ANALOG_END__
public static final ControllerEvent.CommonCodes __LAST__
public static final ControllerEvent.CommonCodes RESERVED
| Method Detail |
|---|
public static ControllerEvent.CommonCodes[] values()
for (ControllerEvent.CommonCodes c : ControllerEvent.CommonCodes.values()) System.out.println(c);
public static ControllerEvent.CommonCodes valueOf(java.lang.String name)
name - the name of the enum constant to be returned.
java.lang.IllegalArgumentException - if this enum type has no constant
with the specified name
java.lang.NullPointerException - if the argument is nullpublic static ControllerEvent.CommonCodes makeFromInt(int codeValue)
codeValue -
public static ControllerEvent.CommonCodes[] makeFromIntAllAlternatives(int codeValue)
codeValue -
public int v()
public java.lang.String n()
public boolean isEqual(java.lang.Object o)
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | ||||||||