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

Provides data for the JoystickDevice.ButtonDown and JoystickDevice.ButtonUp events. This class is cached for performance reasons - avoid storing references outside the scope of the event. More...

Inherits EventArgs.

Properties

JoystickButton Button [get, set]
 The index of the joystick button for the event. More...
 
bool Pressed [get, set]
 Gets a System.Boolean representing the state of the button for the event. More...
 

Detailed Description

Provides data for the JoystickDevice.ButtonDown and JoystickDevice.ButtonUp events. This class is cached for performance reasons - avoid storing references outside the scope of the event.

Property Documentation

JoystickButton OpenTK.Input.JoystickButtonEventArgs.Button
getset

The index of the joystick button for the event.

bool OpenTK.Input.JoystickButtonEventArgs.Pressed
getset

Gets a System.Boolean representing the state of the button for the event.