Show / Hide Table of Contents

Class JoystickButtonEventArgs

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

Inheritance
Object
EventArgs
JoystickButtonEventArgs
Inherited Members
EventArgs.Empty
Object.ToString()
Object.Equals(Object)
Object.Equals(Object, Object)
Object.ReferenceEquals(Object, Object)
Object.GetHashCode()
Object.GetType()
Object.MemberwiseClone()
Namespace: OpenTK.Input
Assembly: OpenTK.dll
Syntax
public class JoystickButtonEventArgs : EventArgs

Properties

Button

The index of the joystick button for the event.

Declaration
public int Button { get; }
Property Value
Type Description
Int32

Pressed

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

Declaration
public bool Pressed { get; }
Property Value
Type Description
Boolean
In This Article
Back to top Generated by DocFX