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)

public struct GamePadDPad

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

Xbox 360, Windows XP SP2, Windows Vista, Zune

Community Additions