JoystickCapabilities Structure (Microsoft.Xna.Framework.Input)

Describes joystick capabilities.

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 JoystickCapabilities

Syntax for VB is not yet implemented.

Syntax for F# is not yet implemented.

The JoystickCapabilities type exposes the following members.

  Platforms Name Description
AxisCount Gets the axis count. 
ButtonCount Gets the button count. 
DisplayName Gets the joystick's display name. 
HatCount Gets the hat count. 
Identifier Gets the unique identifier of the joystick. 
IsConnected Gets a value indicating whether the joystick is connected. 
IsGamepad Gets a value indicating if the joystick is a gamepad. 
Top
  Platforms Name Description
Equals Determines whether the specified System.Object is equal to the current JoystickCapabilities. (Overrides ValueType.Equals().)
GetHashCode Serves as a hash function for a JoystickCapabilities object. (Overrides ValueType.GetHashCode().)
ToString Returns a System.String that represents the current JoystickCapabilities. (Overrides ValueType.ToString().)
Top
  Platforms Name Description
Equality Determines whether a specified instance of JoystickCapabilities is equal to another specified JoystickCapabilities
Inequality Determines whether a specified instance of JoystickCapabilities is not equal to another specified JoystickCapabilities
Top
Supported in:

    
 Windows DirectX Desktop
    
 Linux Desktop
    
 Windows OpenGL Desktop
    
 Web