Click or drag to resize

InputGetJoyButtonIndexFromString Method

Returns the index of the provided button name.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static int GetJoyButtonIndexFromString(
	string button
)

Parameters

button
Type: SystemString

[Missing <param name="button"/> documentation for "M:Godot.Input.GetJoyButtonIndexFromString(System.String)"]

Return Value

Type: Int32

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

See Also