logo SERENITY
Game Systems Foundation
Search Results for

    Show / Hide Table of Contents

    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.

    Inheritance
    object
    GamepadButtonGlyphs
    Inherited Members
    object.ToString()
    object.Equals(object)
    object.Equals(object, object)
    object.ReferenceEquals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    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
    In this article
    © 2026 Serenity. All Rights Reserved