GamePadDPad Structure

Identifies which directions on the directional pad of an Xbox 360 Controller are being pressed.

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

Syntax

public struct GamePadDPad

Remarks

Bb197007.bp(en-us,XNAGameStudio.41).gifBest Practice
Many games allow movement to be controlled with either the left thumbstick or the directional pad (D-pad). The left thumbstick can be accessed with ThumbSticks, and the directional pad is available through DPad.

See Also

Reference

GamePadDPad Members
Microsoft.Xna.Framework.Input Namespace

Platforms

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