Click or drag to resize

InputGetJoyButtonString Method

Receives a gamepad button from JoystickList and returns its equivalent name as a string.

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

Parameters

buttonIndex
Type: SystemInt32

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

Return Value

Type: String

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

See Also