Sdílet prostřednictvím


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

How to: Detect Whether a Controller Button Is Pressed
How to: Detect Whether a Controller Is Disconnected

Concepts

Input Overview

Reference

GamePad Members
Microsoft.Xna.Framework.Input Namespace

Platforms

Xbox 360, Windows XP SP2, Windows Vista