public enum XInputAxis extends Enum<XInputAxis>
| Enum Constant and Description |
|---|
DPAD |
LEFT_THUMBSTICK_X |
LEFT_THUMBSTICK_Y |
LEFT_TRIGGER |
RIGHT_THUMBSTICK_X |
RIGHT_THUMBSTICK_Y |
RIGHT_TRIGGER |
| Modifier and Type | Method and Description |
|---|---|
static XInputAxis |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XInputAxis[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XInputAxis LEFT_THUMBSTICK_X
public static final XInputAxis LEFT_THUMBSTICK_Y
public static final XInputAxis RIGHT_THUMBSTICK_X
public static final XInputAxis RIGHT_THUMBSTICK_Y
public static final XInputAxis LEFT_TRIGGER
public static final XInputAxis RIGHT_TRIGGER
public static final XInputAxis DPAD
public static XInputAxis[] values()
for (XInputAxis c : XInputAxis.values()) System.out.println(c);
public static XInputAxis valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullCopyright © 2018. All rights reserved.