The Open Toolkit library  1.0
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events
OpenTK.Input.JoystickAxisCollection Class Reference

Defines a collection of JoystickAxes. More...

Properties

float this[int index] [get, set]
 Gets a System.Single indicating the absolute position of the JoystickAxis with the specified index. More...
 
float this[JoystickAxis axis] [get, set]
 Gets a System.Single indicating the absolute position of the JoystickAxis. More...
 
int Count [get]
 Gets a System.Int32 indicating the available amount of JoystickAxes. More...
 

Detailed Description

Defines a collection of JoystickAxes.

Property Documentation

int OpenTK.Input.JoystickAxisCollection.Count
get

Gets a System.Int32 indicating the available amount of JoystickAxes.

float OpenTK.Input.JoystickAxisCollection.this[int index]
getset

Gets a System.Single indicating the absolute position of the JoystickAxis with the specified index.

Parameters
indexThe index of the JoystickAxis to check.
Returns
A System.Single in the range [-1, 1].
float OpenTK.Input.JoystickAxisCollection.this[JoystickAxis axis]
getset

Gets a System.Single indicating the absolute position of the JoystickAxis.

Parameters
axisThe JoystickAxis to check.
Returns
A System.Single in the range [-1, 1].