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

@marcoscaceres commented on this pull request.



> +                    <p class="note" title=
+                    "Possible implementation (if surfaceDimensions are available)">
+                      `position[1] = (2.0 * touchData.y / surfaceDimensions[1])
+                      - 1`
+                    </p>
+                  </li>
+                </ol>
+              </li>
+              <li>Set |touchEvent|.{{GamepadTouch/position}} to be
+              |position:Float32Array|.
+              </li>
+              <li>Add |touchEvent| to {{Gamepad}}.{{Gamepad/[[touches]]}}.
+              </li>
+            </ol>
+          </li>
+          <li>Increment |surfaceId|

oops, increment twice

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

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

Received on Friday, 15 November 2024 00:43:39 UTC