- From: Ted Mielczarek <notifications@github.com>
- Date: Fri, 01 Jun 2018 09:12:27 -0700
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 1 June 2018 16:12:49 UTC
We could definitely clarify the spec text here. The intention is that a page does not receive any events or get access to any devices via `navigator.getGamepads()` unless the user has interacted with a device while the page is visible. Once the user has interacted with a device with the page visible, it's assumed that the user will want any newly-connected controllers to be immediately visible, so plugging in a new device would emit a `gamepadconnected` event right away. If the user *has not* interacted with a device for this page yet, no events should be emitted. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/gamepad/issues/71#issuecomment-393929482
Received on Friday, 1 June 2018 16:12:49 UTC