You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
https://w3c.github.io/gamepad/#event-gamepadconnected doesn't seem to check for example if the window is in background tab.
At least some implementations require foreground window.
The text was updated successfully, but these errors were encountered: