Documentation
    Preparing search index...

    Function browserGamepadOptions

    • Bind one host document's native controllers to its registered input owner.

      Parameters

      • Optionalhost: Window

        Browser host window; omitted on non-browser hosts.

      • resolveWindow: (target: Window) => string | undefined = ...

        Resolve an iframe's trusted creation-time window identity.

      Returns GamepadServiceOptions

      Native-reader and lifecycle hooks for createGamepadService.

      const service = createGamepadService(browserGamepadOptions(window));