Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Represents specific information about the state of an Xbox 360 Controller, including the current state of buttons and sticks.
Namespace: Microsoft.Xna.Framework.Input
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public struct GamePadState
See Also
Tasks
How to: Detect Whether a Controller Button Is Pressed
How to: Detect Whether a Controller Is Disconnected
Concepts
Reference
GamePadState Members
Microsoft.Xna.Framework.Input Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista