The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

Buttons Enumeration

Enumerates input device buttons.

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

public enum Buttons

 Member nameDescription
AA button
BB button
BackBACK 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 towards down
LeftThumbstickLeftLeft stick is towards the left
LeftThumbstickRightLeft stick is towards the right
LeftThumbstickUpLeft stick is towards up
LeftTriggerLeft trigger
RightShoulderRight bumper (shoulder) button
RightStickRight stick button (pressing the right stick)
RightThumbstickDownRight stick is towards down
RightThumbstickLeftRight stick is towards the left
RightThumbstickRightRight stick is towards the right
RightThumbstickUpRight stick is towards up
RightTriggerRight trigger
StartSTART button
XX button
YY button

Xbox 360, Windows XP SP2, Windows Vista

Community Additions

© 2015 Microsoft