Click or drag to resize

InputAddJoyMapping Method

Adds a new mapping entry (in SDL2 format) to the mapping database. Optionally update already connected devices.

Namespace:  Godot
Assembly:  GodotSharp (in GodotSharp.dll) Version: 1.0.0
Syntax
C#
public static void AddJoyMapping(
	string mapping,
	bool updateExisting = false
)

Parameters

mapping
Type: SystemString

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

updateExisting (Optional)
Type: SystemBoolean

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

See Also