- From: Bradley Needham <notifications@github.com>
- Date: Mon, 25 Jul 2022 12:22:59 -0700
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 25 July 2022 19:23:12 UTC
@bradleyneedham commented on this pull request.
> + coordinate and 1.0 is the bottommost coordinate.
+ </p>
+ <p>
+ <p>Possible implementation:</p>
+ <ul>
+ <li>`normalizedY = (2.0 * touchData.y / surfaceDimensionY) - 1`</li>
+ </ul>
+ </p>
+ </li>
+ <li>Let |touchEvent:GamepadTouch| be a {{GamepadTouch}}.
+ </li>
+ <li>Set |touchEvent|.{{GamepadTouch/touchId}} to be
+ `touchData.touchID`.
+ </li>
+ <li>Set |touchEvent|.{{GamepadTouch/surfaceId}} to be
+ device surfaceId.
Added outer loop to iterate surfaces.
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/pull/168#discussion_r929221260
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/gamepad/pull/168/review/1049950443@github.com>
Received on Monday, 25 July 2022 19:23:12 UTC