Class JoystickAxisCollection
Defines a collection of JoystickAxes.
Inheritance
System.Object
JoystickAxisCollection
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: OpenTK.Input
Assembly: cs.temp.dll.dll
Syntax
public sealed class JoystickAxisCollection
Properties
Count
Gets a System.Int32 indicating the available amount of JoystickAxes.
Declaration
public int Count { get; }
Property Value
Type | Description |
---|---|
System.Int32 |
Item[Int32]
Gets a System.Single indicating the absolute position of the JoystickAxis with the specified index.
Declaration
public float this[int index] { get; }
Parameters
Type | Name | Description |
---|---|---|
System.Int32 | index | The index of the JoystickAxis to check. |
Property Value
Type | Description |
---|---|
System.Single | A System.Single in the range [-1, 1]. |