- From: Marcos Cáceres <notifications@github.com>
- Date: Thu, 18 Jun 2020 16:22:23 -0700
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Thursday, 18 June 2020 23:22:35 UTC
@marcoscaceres commented on this pull request.
> + as user gestures. A transition MUST NOT be included if the transition
+ 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
```suggestion
context is <dfn>active</dfn> if the page associated with the context is visible and
```
--
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-433708626
Received on Thursday, 18 June 2020 23:22:35 UTC