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
System.Object
System.EventArgs
JoystickButtonEventArgs
Inherited Members
System.EventArgs.Empty
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ToString()
System.Object.ReferenceEquals(System.Object, System.Object)
Namespace: OpenTK.Input
Assembly: cs.temp.dll.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
System.Int32

Pressed

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

Declaration
public bool Pressed { get; }
Property Value
Type Description
System.Boolean
Back to top Copyright © 2015-2017 Microsoft
Generated by DocFX