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