Show / Hide Table of Contents

Struct JoystickEventArgs

Defines the event data for the event.

Inherited Members
ValueType.Equals(object)
ValueType.GetHashCode()
ValueType.ToString()
object.Equals(object, object)
object.GetType()
object.ReferenceEquals(object, object)
Namespace: OpenTK.Windowing.Common
Assembly: OpenTK.Windowing.Common.dll
Syntax
public readonly struct JoystickEventArgs

Constructors

JoystickEventArgs(int, bool)

Initializes a new instance of the JoystickEventArgs struct.

Declaration
public JoystickEventArgs(int joystickId, bool isConnected)
Parameters
Type Name Description
int joystickId

The Id of the joystick which triggered this event.

bool isConnected

A value indicating whether the joystick which triggered this event was connected.

Properties

IsConnected

Gets a value indicating whether the joystick which triggered this event was connected.

Declaration
public bool IsConnected { get; }
Property Value
Type Description
bool

JoystickId

Gets the Id of the joystick which triggered this event.

Declaration
public int JoystickId { get; }
Property Value
Type Description
int
In This Article
Back to top Generated by DocFX