GamePadButtons.A Property

Identifies if the A button on the Xbox 360 Controller is pressed.

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

Syntax

public ButtonState A { get; }

Property Value

ButtonState.Pressed if the button is pressed; ButtonState.Released otherwise.

Remarks

Bb195059.bp(en-us,XNAGameStudio.41).gifBest Practice
The A button typically is used to confirm selection of an item.

See Also

Reference

GamePadButtons Structure
GamePadButtons Members
Microsoft.Xna.Framework.Input Namespace

Platforms

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