Class JoystickAxisCollection
Defines a collection of JoystickAxes.
Inherited Members
Namespace: OpenTK.Input
Assembly: OpenTK.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 |
---|---|
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 |
---|---|---|
Int32 | index | The index of the JoystickAxis to check. |
Property Value
Type | Description |
---|---|
Single | A System.Single in the range [-1, 1]. |