- From: Gabriel Brito <notifications@github.com>
- Date: Thu, 13 Feb 2025 16:54:44 -0800
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
- Message-ID: <w3c/gamepad/pull/198/review/2616519886@github.com>
@gabrielsanbrito commented on this pull request.
> + 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=] {{DOMPoint}} with `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
+ [-1.0,1.0] where -1.0 is the leftmost coordinate and 1.0 is
+ the rightmost coordinate.
`|position|` is declared and not used. Should we write something like "Set |touch|.{{GamepadTouch/position}} to |position|"?
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/pull/198#pullrequestreview-2616519886
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/gamepad/pull/198/review/2616519886@github.com>
Received on Friday, 14 February 2025 00:54:48 UTC