Click or drag to resize

InputJoyConnectionChanged Method

Notifies the Input singleton that a connection has changed, to update the state for the device index.

This is used internally and should not have to be called from user scripts. See joy_connection_changed for the signal emitted when this is triggered internally.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void JoyConnectionChanged(
	int device,
	bool connected,
	string name,
	string guid
)

Parameters

device
Type: SystemInt32

[Missing <param name="device"/> documentation for "M:Godot.Input.JoyConnectionChanged(System.Int32,System.Boolean,System.String,System.String)"]

connected
Type: SystemBoolean

[Missing <param name="connected"/> documentation for "M:Godot.Input.JoyConnectionChanged(System.Int32,System.Boolean,System.String,System.String)"]

name
Type: SystemString

[Missing <param name="name"/> documentation for "M:Godot.Input.JoyConnectionChanged(System.Int32,System.Boolean,System.String,System.String)"]

guid
Type: SystemString

[Missing <param name="guid"/> documentation for "M:Godot.Input.JoyConnectionChanged(System.Int32,System.Boolean,System.String,System.String)"]

See Also