Re: [w3c/gamepad] Enhance Gamepad interface description for Touch (PR #168)

@bradleyneedham commented on this pull request.



> +          <td>
+            <dfn data-dfn-for="Gamepad">[[\pose]]</dfn>
+          </td>
+          <td>
+            `null`
+          </td>
+          <td>
+            The current pose of the gamepad.
+          </td>
+        </tr>
+        <tr>
+          <td>
+            <dfn data-dfn-for="Gamepad">[[\touchEvents]]</dfn>
+          </td>
+          <td>
+            <code>null</code>

I think because not all Gamepads support touch pads, it is better this way to distinguish between a Gamepad that will never have touchIds (null) and a Gamepad that just has no new input (empty list).

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/pull/168#discussion_r1113597747
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/gamepad/pull/168/review/1308207001@github.com>

Received on Tuesday, 21 February 2023 21:43:22 UTC