Partager via


GamePad Class

Allows retrieval of user interaction with an Xbox 360 Controller and setting of controller vibration motors.

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

Syntax

public static class GamePad

See Also

Tasks

Detecting Xbox 360 Controller Button Presses (Xbox 360, Windows)
Determining If an Xbox 360 Controller Is Disconnected (Xbox 360, Windows)

Concepts

Overview of User Input and Input Devices

Reference

GamePad Members
Microsoft.Xna.Framework.Input Namespace

Platforms

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