Re: [w3c/gamepad] How do connection/disconnection events interact with 'device has been interacted with by the user'? (#71)

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