Re: [w3c/gamepad] Fold touchEvents from extensions.html into index.html (PR #198)

@marcoscaceres commented on this pull request.



> +        </p>
+        <ol class="algorithm">
+          <li>Let |surfaceId:unsigned long| be 0.
+          </li>
+          <li>Remove any existing events from
+          {{Gamepad}}.{{Gamepad/[[touches]]}}.
+          </li>
+          <li>Repeat the following steps for each touch surface on |gamepad| in
+          touch surface enumeration order:
+            <ol>
+              <li>Let |surfaceDimensions| be an `null`.
+              </li>
+              <li>If the touch surface exposes maximum surface dimensions in
+              device units:
+                <ol>
+                  <li>Set |touchEvent|.{{GamepadTouch/surfaceDimensions}}[0] to

Note, move away from calling it "*Event". Call it |gameTouch|, and 
```suggestion
                  <li>Let |gamepadTouch| be a newly created {{GamepadTouch}.</li>
                  <li>Set | gamepadTouch |.{{GamepadTouch/surfaceDimensions}}[0] to
```

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

Message ID: <w3c/gamepad/pull/198/review/2437447999@github.com>

Received on Friday, 15 November 2024 00:31:42 UTC