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

@marcoscaceres commented on this pull request.



> +        When a gamepad transitions from disconnected to connected, it
+        <dfn data-lt="becomes connected">becomes connected</dfn>. Likewise,
+        when a gamepad transitions from connected to disconnected, it
+        <dfn data-lt="becomes disconnected">becomes disconnected</dfn>. The
+        host MUST provide algorithms to register listeners for these
+        transitions. If these events are not available, the user agent MAY
+        implement an algorithm that synthesizes the events by periodically
+        enumerating connected gamepads.
+      </p>
+      <p>
+        The user agent MUST define a
+        <dfn data-lt="gamepad user gesture">gamepad user gesture</dfn>. A
+        gamepad user gesture is a class of gamepad input state transitions that
+        signify that the user is interacting with the gamepad. At a minimum, the
+        gamepad user gesture MUST include state changes where any button
+        transitions from unpressed to pressed. Other transitions MAY be included

```suggestion
        transitions from unpressed to pressed. Other transitions can be included
```

-- 
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-433706433

Received on Thursday, 18 June 2020 23:16:13 UTC