Sdílet prostřednictvím


GamePadState Constructor

Initializes a new instance of the GamePadState class.

Overload List

Name Description
GamePadState (GamePadThumbSticks, GamePadTriggers, GamePadButtons, GamePadDPad) Initializes a new instance of the GamePadState class using the specified GamePadThumbSticks, GamePadTriggers, GamePadButtons, and GamePadDPad.
GamePadState (Vector2, Vector2, Single, Single, Buttons[]) Initializes a new instance of the GamePadState class with the specified stick, trigger, and button values.

See Also

Reference

GamePadState Structure
GamePadState Members
Microsoft.Xna.Framework.Input Namespace