GamePadState.DPad Property
Returns a structure that identifies what directions of the directional pad on the Xbox 360 Controller are pressed.
Namespace: Microsoft.Xna.Framework.Input
Assembly: Microsoft.Xna.Framework (in microsoft.xna.framework.dll)
Syntax
public GamePadDPad DPad { get; }
Property Value
Structure that identifies what directional pad directions are pressed.
See Also
Reference
GamePadState Structure
GamePadState Members
Microsoft.Xna.Framework.Input Namespace
Platforms
Xbox 360, Windows XP SP2, Windows Vista