Table of Contents

Delegate Input.JoyConnectionChangedEventHandler

Namespace
Godot
Assembly
GodotSharp.dll

Represents the method that handles the JoyConnectionChanged event of a Input class.

public delegate void Input.JoyConnectionChangedEventHandler(long device, bool connected)

Parameters

device long
Represents the method that handles the event of a class.
connected bool
Represents the method that handles the event of a class.

Constructors

JoyConnectionChangedEventHandler(object, IntPtr)

public JoyConnectionChangedEventHandler(object @object, IntPtr method)

Parameters

object object
method IntPtr

Methods

BeginInvoke(long, bool, AsyncCallback, object)

public virtual IAsyncResult BeginInvoke(long device, bool connected, AsyncCallback callback, object @object)

Parameters

device long
connected bool
callback AsyncCallback
object object

Returns

IAsyncResult

EndInvoke(IAsyncResult)

public virtual void EndInvoke(IAsyncResult result)

Parameters

result IAsyncResult

Invoke(long, bool)

public virtual void Invoke(long device, bool connected)

Parameters

device long
connected bool