OpenTK.Input.JoystickDevice Class Reference

Represents a joystick device and provides methods to query its status. More...

Inheritance diagram for OpenTK.Input.JoystickDevice:
OpenTK.Input.IInputDevice

List of all members.

Public Attributes

EventHandler
< JoystickMoveEventArgs
Move
 Occurs when an axis of this JoystickDevice instance is moved.
EventHandler
< JoystickButtonEventArgs
ButtonDown
 Occurs when a button of this JoystickDevice instance is pressed.
EventHandler
< JoystickButtonEventArgs
ButtonUp
 Occurs when a button of this JoystickDevice is released.

Properties

JoystickAxisCollection Axis [get]
 Gets a JoystickAxisCollection containing the state of each axis on this instance. Values are normalized in the [-1, 1] range.
JoystickButtonCollection Button [get]
 Gets JoystickButtonCollection containing the state of each button on this instance. True indicates that the button is pressed.
string Description [get, set]
 Gets a System.String containing a unique description for this instance.
InputDeviceType DeviceType [get]
 Gets a value indicating the InputDeviceType of this InputDevice.

Detailed Description

Represents a joystick device and provides methods to query its status.

Definition at line 36 of file JoystickDevice.cs.


Member Data Documentation

Initial value:
            delegate(object sender, JoystickButtonEventArgs e) { }

Occurs when a button of this JoystickDevice instance is pressed.

Definition at line 112 of file JoystickDevice.cs.

Initial value:
            delegate(object sender, JoystickButtonEventArgs e) { }

Occurs when a button of this JoystickDevice is released.

Definition at line 118 of file JoystickDevice.cs.

Initial value:
            delegate(object sender, JoystickMoveEventArgs e) { }

Occurs when an axis of this JoystickDevice instance is moved.

Definition at line 106 of file JoystickDevice.cs.


Property Documentation

JoystickAxisCollection OpenTK.Input.JoystickDevice.Axis [get]

Gets a JoystickAxisCollection containing the state of each axis on this instance. Values are normalized in the [-1, 1] range.

Definition at line 71 of file JoystickDevice.cs.

JoystickButtonCollection OpenTK.Input.JoystickDevice.Button [get]

Gets JoystickButtonCollection containing the state of each button on this instance. True indicates that the button is pressed.

Definition at line 76 of file JoystickDevice.cs.

string OpenTK.Input.JoystickDevice.Description [get, set]

Gets a System.String containing a unique description for this instance.

Implements OpenTK.Input.IInputDevice.

Definition at line 86 of file JoystickDevice.cs.

InputDeviceType OpenTK.Input.JoystickDevice.DeviceType [get]

Gets a value indicating the InputDeviceType of this InputDevice.

Implements OpenTK.Input.IInputDevice.

Definition at line 95 of file JoystickDevice.cs.

 All Classes Functions Variables Enumerations Properties Events

Generated on Tue Mar 9 15:06:29 2010 for The Open Toolkit library by  doxygen 1.6.1