- From: Marcos Cáceres <notifications@github.com>
- Date: Thu, 13 Feb 2025 16:35:15 -0800
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 14 February 2025 00:35:19 UTC
@marcoscaceres commented on this pull request.
> + </li>
+ <li>Otherwise, set touchId to nextTouchId and increment
+ nextTouchId.
+ <p class="note" title=
+ "Touch ids are relative to the Gamepad">
+ If the Gamepad has multiple touch surfaces the touch
+ id will be unique across surfaces.
+ </p>
+ </li>
+ </ol>
+ </li>
+ <li>Let |position| be a [=new=] {{DOMPointReadOnly}} with {{DOMPointReadOnly/x}}
+ initialized to device X coordinate relative to the device
+ touch surface and normalized to [-1.0,1.0] where -1.0 is the
+ leftmost coordinate and 1.0 is the rightmost coordinate and
+ `y` initialized to the device touch surface and normalized to
```suggestion
{{DOMPointReadOnly/y}} initialized to the device touch surface and normalized to
```
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/pull/198#pullrequestreview-2616497431
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/gamepad/pull/198/review/2616497431@github.com>
Received on Friday, 14 February 2025 00:35:19 UTC