次の方法で共有


GamePadCapabilities.HasXButton Property

Indicates whether the controller has an X button.

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

Syntax

public bool HasXButton { 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 7, Windows Vista, Windows XP, Windows Phone