Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

Buttons Enumeration

Enumerates input device buttons.

Namespace: Microsoft.Xna.Framework.Input
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)

[FlagsAttribute]
public enum Buttons

 Member nameDescription
AA button
BB button
BackBACK button
BigButtonBig button
DPadDownDirectional pad up
DPadLeftDirectional pad left
DPadRightDirectional pad right
DPadUpDirectional pad down
LeftShoulderLeft bumper (shoulder) button
LeftStickLeft stick button (pressing the left stick)
LeftThumbstickDownLeft stick is toward down
LeftThumbstickLeftLeft stick is toward the left
LeftThumbstickRightLeft stick is toward the right
LeftThumbstickUpLeft stick is toward up
LeftTriggerLeft trigger
RightShoulderRight bumper (shoulder) button
RightStickRight stick button (pressing the right stick)
RightThumbstickDownRight stick is toward down
RightThumbstickLeftRight stick is toward the left
RightThumbstickRightRight stick is toward the right
RightThumbstickUpRight stick is toward up
RightTriggerRight trigger
StartSTART button
XX button
YY button

Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone

Community Additions

ADD
Show:
© 2015 Microsoft