Click or drag to resize

InputIsJoyKnown Method

Returns true if the system knows the specified device. This means that it sets all button and axis indices exactly as defined in JoystickList. Unknown joypads are not expected to match these constants, but you can still retrieve events from them.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static bool IsJoyKnown(
	int device
)

Parameters

device
Type: SystemInt32

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

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Godot.Input.IsJoyKnown(System.Int32)"]

See Also