|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |
java.lang.Objectjava.lang.Enum<Buttons>
Microsoft.Xna.Framework.Input.Buttons
public enum Buttons
Enumerates input device buttons.
Enum Constant Summary | |
---|---|
A
A button |
|
B
B button |
|
Back
Back button |
|
BigButton
Big Button |
|
DPadDown
Directional pad down |
|
DPadLeft
Directional pad left |
|
DPadRight
Directional pad right |
|
DPadUp
Directional pad up |
|
LeftShoulder
Left bumper (shoulder) button |
|
LeftStick
Left stick button (pressing the left stick) |
|
LeftThumbstickDown
Left stick is toward down |
|
LeftThumbstickLeft
Left stick is towards the left |
|
LeftThumbstickRight
Left stick is towards the right |
|
LeftThumbstickUp
Left stick is towards up |
|
LeftTrigger
Left trigger |
|
RightShoulder
Right bumper (shoulder) button |
|
RightStick
Right stick button (pressing the right stick) |
|
RightThumbstickDown
Right stick is towards down |
|
RightThumbstickLeft
Right stick is towards the left |
|
RightThumbstickRight
Right stick is towards the right |
|
RightThumbstickUp
Right stick is towards up |
|
RightTrigger
Right trigger |
|
Start
START button |
|
X
X button |
|
Y
Y button |
Method Summary | |
---|---|
int |
getValue()
|
static Buttons |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static Buttons[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
Methods inherited from class java.lang.Enum |
---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Enum Constant Detail |
---|
public static final Buttons A
public static final Buttons B
public static final Buttons Back
public static final Buttons BigButton
public static final Buttons DPadDown
public static final Buttons DPadLeft
public static final Buttons DPadRight
public static final Buttons DPadUp
public static final Buttons LeftShoulder
public static final Buttons LeftStick
public static final Buttons LeftThumbstickDown
public static final Buttons LeftThumbstickLeft
public static final Buttons LeftThumbstickRight
public static final Buttons LeftThumbstickUp
public static final Buttons LeftTrigger
public static final Buttons RightShoulder
public static final Buttons RightStick
public static final Buttons RightThumbstickDown
public static final Buttons RightThumbstickLeft
public static final Buttons RightThumbstickRight
public static final Buttons RightThumbstickUp
public static final Buttons RightTrigger
public static final Buttons Start
public static final Buttons X
public static final Buttons Y
Method Detail |
---|
public static Buttons[] values()
for (Buttons c : Buttons.values()) System.out.println(c);
public static Buttons 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 name
java.lang.NullPointerException
- if the argument is nullpublic int getValue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD |