public static enum ConfiguredInput.Type extends java.lang.Enum<ConfiguredInput.Type>
| Enum Constant and Description |
|---|
axis
an axis is an axis that can be an analog or a digital axis, so mapping can use buttons, analog sticks
or dpads for this.
|
axisAnalog
an analog axis is an axis on the controller that gives you values between -1.0 and +1.0.
|
axisDigital
a digital axis is an axis that gives you values -1, 0 or +1.
|
button
a button is a button on the controller that is pressed or not pressed
|
| Modifier and Type | Method and Description |
|---|---|
static ConfiguredInput.Type |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static ConfiguredInput.Type[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfiguredInput.Type button
public static final ConfiguredInput.Type axis
public static final ConfiguredInput.Type axisAnalog
public static final ConfiguredInput.Type axisDigital
public static ConfiguredInput.Type[] values()
for (ConfiguredInput.Type c : ConfiguredInput.Type.values()) System.out.println(c);
public static ConfiguredInput.Type 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