Class GamepadButtonGlyphs
Maps Unity's generic Input System control names (buttonNorth, leftShoulder, ...) to the physical button labels printed on a given GamepadFamily's pad. Pure lookup — no Input System dependency — so it can be unit tested without a connected device.
Inherited Members
Namespace: Serenity.InputGateway.Infrastructure.Editor.Debug
Assembly: Serenity.UnityPlayerInput.Infrastructure.Editor.dll
Syntax
public static class GamepadButtonGlyphs
Methods
NativeLabel(GamepadFamily, string)
Returns the physical label a family pad prints for
genericControlName, or the generic name unchanged when the family has no
mapping for it (the Generic family, or an unmapped control).
Declaration
public static string NativeLabel(GamepadFamily family, string genericControlName)
Parameters
| Type | Name | Description |
|---|---|---|
| GamepadFamily | family | |
| string | genericControlName |
Returns
| Type | Description |
|---|---|
| string |