This documentation is archived and is not being maintained.

GamePadThumbSticks Structure

Structure that represents the position of left and right sticks (thumbsticks) on an Xbox 360 Controller.

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

public struct GamePadThumbSticks

Bb197015.bp(en-us,XNAGameStudio.40).gifBest Practice
You can check GameDefaults.MoveWithRightThumbStick to determine if the player prefers using the right or left thumbstick to control movement.

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