InputControlPath
static class in UnityEngine.InputSystem · Unity.InputSystem
Not in Unity's public API, or in an assembly the coverage doesn't count.
In Tassix
Control paths: "<Gamepad>/buttonSouth", "/Keyboard/enter", "*/{Submit}" (a usage: Unity's layouts tag controls with what they're for).
Fields 3
const string DoubleWildcardconst char Separatorconst string WildcardMethods 4
static bool Matches(string path, InputControl control)Whether the path names the control. A usage matches the device's own controls that carry it (not ones further down, such as a touch's tap).
static string ToHumanReadableString(string path)static InputControl? TryFindControl(InputControl control, string path, int indexInMatchList = 0)static TControl? TryFindControl<TControl>(InputControl control, string path, int indexInMatchList = 0)The indexInMatchListth control below (or at) control's device that the path names; null past the last.
static string? TryGetDeviceLayout(string path)