Re: [w3c/gamepad] Add a Model section (#136)

@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

This is blocked on getting Visibility API republished... filed a bug. https://github.com/w3c/page-visibility/issues/65

-- 
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#discussion_r456144193

Received on Friday, 17 July 2020 00:04:38 UTC