This topic has not yet been rated - Rate this topic

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.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.
Xbox 360, Windows 7, Windows Vista, Windows XP, Windows Phone
Did you find this helpful?
(1500 characters remaining)
Community Content Add
Annotations FAQ