共用方式為


GamePadState.ThumbSticks Property

Returns a structure that indicates the position of the Xbox 360 Controller sticks (thumbsticks).

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

Syntax

public GamePadThumbSticks ThumbSticks { get; }

Property Value

Structure that indicates the position of the sticks.

See Also

Reference

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

Platforms

Xbox 360, Windows XP SP2, Windows Vista