gamepad-type - v2.0.2
    Preparing search index...

    Type Alias GamepadLayout

    A mapping of gamepad button and axe numbers to their names. Mappings depend on the current system and gamepad model (so those are included as well).

    type GamepadLayout = {
        gamepadModels: string[];
        inputMappings: Record<string, string>;
        notes?: PartialWithUndefined<{ info: string; warning: string }>;
        systemVersions: SystemVersions[];
    }
    Index

    Properties

    gamepadModels: string[]

    The list of supported gamepad models for this layout. These are mapped model names, not the raw device names or gamepad ids directly from the browser.

    inputMappings: Record<string, string>
    notes?: PartialWithUndefined<{ info: string; warning: string }>
    systemVersions: SystemVersions[]