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.
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.