Type alias GamepadLayout

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

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 declaration

  • gamepadModels: string[]
  • inputMappings: Record<string, string>
  • Optional notes?: PartialAndUndefined<{
        info: string;
        warning: string;
    }>
  • systemVersions: SystemVersions[]