Re: [w3c/gamepad] Add buttondown, buttonup, buttonchange, axischange events (#152)

@reillyeon commented on this pull request.

LGTM

> +          required double axisSnapshot;
+          required DOMHighResTimeStamp gamepadTimestamp;
+        };
+      </pre>
+        <dl data-dfn-for="GamepadAxisEventInit">
+          <dt>
+            <dfn>gamepadIndex</dfn> member
+          </dt>
+          <dd>
+            The gamepad index for the event.
+          </dd>
+          <dt>
+            <dfn>axisIndex</dfn> member
+          </dt>
+          <dd>
+            The button index for the event.

```suggestion
            The axis index for the event.
```

> +            <dfn>gamepadIndex</dfn> member
+          </dt>
+          <dd>
+            The gamepad index for the event.
+          </dd>
+          <dt>
+            <dfn>axisIndex</dfn> member
+          </dt>
+          <dd>
+            The button index for the event.
+          </dd>
+          <dt>
+            <dfn>axisSnapshot</dfn> member
+          </dt>
+          <dd>
+            A copy of the current button state.

```suggestion
            A copy of the current axis state.
```

-- 
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/152#pullrequestreview-716483904

Received on Wednesday, 28 July 2021 00:35:50 UTC