GamePadThumbSticks Structure (Microsoft.Xna.Framework.Input)

A struct that represents the current stick (thumbstick) states for the controller.

Namespace: Microsoft.Xna.Framework.Input
Assembly: MonoGame.Framework (MonoGame.Framework.dll 3.8.0.1082)
  • C#
  • VB
  • F#
[StructLayoutAttribute(LayoutKind.Sequential, CharSet = CharSet.Ansi, Pack = -1, Size = -1)]
public struct GamePadThumbSticks

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The GamePadThumbSticks type exposes the following members.

  Platforms Name Description
GamePadThumbSticks  
Top
  Platforms Name Description
Left Gets a value indicating the position of the left stick (thumbstick). 
Right Gets a value indicating the position of the right stick (thumbstick). 
Top
  Platforms Name Description
Equals Returns a value indicating whether this instance is equal to a specified object. (Overrides ValueType.Equals().)
GetHashCode Serves as a hash function for a GamePadThumbSticks object. (Overrides ValueType.GetHashCode().)
ToString Returns a System.String that represents the current GamePadThumbSticks. (Overrides ValueType.ToString().)
Top
  Platforms Name Description
Equality Determines whether two specified instances of GamePadThumbSticks are equal. 
Inequality Determines whether two specified instances of GamePadThumbSticks are not equal. 
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web