Create one controller reader shared by all subscribed windows in a runtime.
Trusted native reader, input-owner and lifecycle hooks.
A gamepad service with immediate refresh and session cleanup.
const gamepad = createGamepadService({ readGamepads, getFocusedWindow, isHostActive }); Copy
const gamepad = createGamepadService({ readGamepads, getFocusedWindow, isHostActive });
Create one controller reader shared by all subscribed windows in a runtime.