Function createEmptyGamepadLayout

  • Creates an empty layout as a starting point for building a new one. Includes the correct system versions already.

    Parameters

    • gamepad: Readonly<Pick<Readonly<{}>, "deviceName">>
    • OptionalgamepadModelMap: Readonly<{ [key: string]: string }>

    Returns GamepadLayout