GamePadDPad Structure (Microsoft.Xna.Framework.Input)


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

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The GamePadDPad type exposes the following members.

  Platforms Name Description
GamePadDPad Initializes a new instance of the GamePadDPad struct. 
Top
  Platforms Name Description
Down Gets a value indicating wethever down is pressed on the directional pad. 
Left Gets a value indicating wethever left is pressed on the directional pad. 
Right Gets a value indicating wethever right is pressed on the directional pad. 
Up Gets a value indicating wethever up is pressed on the directional pad. 
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 GamePadDPad object. (Overrides ValueType.GetHashCode().)
ToString Returns a System.String that represents the current GamePadDPad in a format of 0000 where each number represents a boolean value of each respecting object property: Left, Up, Right, Down. (Overrides ValueType.ToString().)
Top
  Platforms Name Description
Equality Determines whether two specified instances of GamePadDPad are equal. 
Inequality Determines whether two specified instances of GamePadDPad are not equal. 
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web