GamePadCapabilities.HasYButton Property

Indicates whether the controller has a Y button.

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

Syntax

public bool HasYButton { get; }

Property Value

true if the controller has this capability; false otherwise.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista