public enum XInputDeviceSubType extends Enum<XInputDeviceSubType>
| Enum Constant and Description |
|---|
ARCADE_PAD |
ARCADE_STICK |
DANCE_PAD |
DRUM_KIT |
FLIGHT_STICK |
GAMEPAD |
GUITAR |
GUITAR_ALTERNATE |
GUITAR_BASS |
UNKNOWN |
WHEEL |
| Modifier and Type | Method and Description |
|---|---|
static XInputDeviceSubType |
fromNative(byte value)
Retrieves the appropriate enum value from the native value.
|
byte |
getDeviceTypeValue() |
static XInputDeviceSubType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static XInputDeviceSubType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final XInputDeviceSubType UNKNOWN
public static final XInputDeviceSubType GAMEPAD
public static final XInputDeviceSubType WHEEL
public static final XInputDeviceSubType ARCADE_STICK
public static final XInputDeviceSubType FLIGHT_STICK
public static final XInputDeviceSubType DANCE_PAD
public static final XInputDeviceSubType GUITAR
public static final XInputDeviceSubType GUITAR_ALTERNATE
public static final XInputDeviceSubType DRUM_KIT
public static final XInputDeviceSubType GUITAR_BASS
public static final XInputDeviceSubType ARCADE_PAD
public static XInputDeviceSubType[] values()
for (XInputDeviceSubType c : XInputDeviceSubType.values()) System.out.println(c);
public static XInputDeviceSubType 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 nullpublic byte getDeviceTypeValue()
public static XInputDeviceSubType fromNative(byte value)
value - the native valueIllegalArgumentException - if the given native value does not correspond
to an enum valueCopyright © 2018. All rights reserved.