Show / Hide Table of Contents

Struct JoystickCapabilities

Describes the JoystickCapabilities of a JoystickDevice.

Implements
System.IEquatable<JoystickCapabilities>
Inherited Members
System.Object.Equals(System.Object, System.Object)
System.Object.GetType()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: OpenTK.Input
Assembly: cs.temp.dll.dll
Syntax
public struct JoystickCapabilities : IEquatable<JoystickCapabilities>

Properties

AxisCount

Gets the number of axes supported by this JoystickDevice.

Declaration
public int AxisCount { get; }
Property Value
Type Description
System.Int32

ButtonCount

Gets the number of buttons supported by this JoystickDevice.

Declaration
public int ButtonCount { get; }
Property Value
Type Description
System.Int32

HatCount

Gets the number of hats supported by this JoystickDevice.

Declaration
public int HatCount { get; }
Property Value
Type Description
System.Int32

IsConnected

Gets a value indicating whether this JoystickDevice is connected.

Declaration
public bool IsConnected { get; }
Property Value
Type Description
System.Boolean

true if this instance is connected; otherwise, false.

Methods

Equals(JoystickCapabilities)

Determines whether the specified JoystickCapabilities is equal to the current JoystickCapabilities.

Declaration
public bool Equals(JoystickCapabilities other)
Parameters
Type Name Description
JoystickCapabilities other

The JoystickCapabilities to compare with the current JoystickCapabilities.

Returns
Type Description
System.Boolean

true if the specified JoystickCapabilities is equal to the current JoystickCapabilities; otherwise, false.

Equals(Object)

Determines whether the specified System.Object is equal to the current JoystickCapabilities.

Declaration
public override bool Equals(object obj)
Parameters
Type Name Description
System.Object obj

The System.Object to compare with the current JoystickCapabilities.

Returns
Type Description
System.Boolean

true if the specified System.Object is equal to the current JoystickCapabilities; otherwise, false.

Overrides
System.ValueType.Equals(System.Object)

GetHashCode()

Serves as a hash function for a JoystickCapabilities object.

Declaration
public override int GetHashCode()
Returns
Type Description
System.Int32

A hash code for this instance that is suitable for use in hashing algorithms and data structures such as a hash table.

Overrides
System.ValueType.GetHashCode()

ToString()

Returns a System.String that represents the current JoystickCapabilities.

Declaration
public override string ToString()
Returns
Type Description
System.String

A System.String that represents the current JoystickCapabilities.

Overrides
System.ValueType.ToString()

Implements

System.IEquatable<T>
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX