GamePadButtons.B Property
Identifies if the B 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 B { get; }
Property Value
ButtonState.Pressed if the button is pressed; ButtonState.Released otherwise.
Remarks
Best Practice |
---|
The B button typically is used to cancel or back out of a menu in a game. |
See Also
Reference
GamePadButtons Structure
GamePadButtons Members
Microsoft.Xna.Framework.Input Namespace
Platforms
Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone