public static enum Joystick.JSID extends java.lang.Enum<Joystick.JSID>
| Enum Constant and Description |
|---|
JS0
The first Joystick input device.
|
JS1
The second Joystick input device.
|
JS2
The thrid Joystick input device.
|
JS3
The fourth Joystick input device.
|
JS4
The fifth Joystick input device.
|
JS5
The sixth Joystick input device.
|
| Modifier and Type | Method and Description |
|---|---|
static Joystick.JSID |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Joystick.JSID[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Joystick.JSID JS0
public static final Joystick.JSID JS1
public static final Joystick.JSID JS2
public static final Joystick.JSID JS3
public static final Joystick.JSID JS4
public static final Joystick.JSID JS5
public static Joystick.JSID[] values()
for (Joystick.JSID c : Joystick.JSID.values()) System.out.println(c);
public static Joystick.JSID 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 namejava.lang.NullPointerException - if the argument is null