- From: Marcos Cáceres <notifications@github.com>
- Date: Thu, 18 Jun 2020 16:26:39 -0700
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 18 June 2020 23:26:52 UTC
@marcoscaceres commented on this pull request.
> + could occur without user interaction.
+ </p>
+ <p>
+ The user agent MUST NOT expose information about connected gamepads
+ until a gamepad user gesture has been received from any connected
+ gamepad. The user gesture MUST be tracked independently for each gamepad
+ context. A <dfn data-lt="gamepad context">gamepad context</dfn> MUST be
+ created when a page first requests the current gamepad state or
+ registers for gamepad connection events. The gamepad context MUST be
+ destroyed when the tab is closed or navigates away from the current
+ page. Reloading the current page MUST NOT destroy the gamepad context.
+ </p>
+ <p>
+ To register a user gesture, a gamepad context MUST be active. A gamepad
+ context is active if the page associated with the context is visible and
+ the page is capable of executing script. If the page is not visible or
```suggestion
the page is capable of executing script. If the page is [=Document/hidden=] or
```
--
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/pull/136#pullrequestreview-433710108
Received on Thursday, 18 June 2020 23:26:52 UTC