Re: [w3c/gamepad] It is unclear if the algorithm for gamepadconnected event matches implementations (Issue #215)

Allowing gamepad access from non-foreground windows is intentional, but perhaps we should check that the page is visible? The Chromium implementation requires visibility before events are dispatched.

On some platforms the system APIs we use to access gamepad inputs have focus requirements that prevent background access. Chromium uses a variety of APIs to access gamepads so sometimes this behavior can differ between different gamepads on the same system.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/issues/215#issuecomment-2380239898
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/gamepad/issues/215/2380239898@github.com>

Received on Friday, 27 September 2024 22:40:01 UTC