Re: [w3c/gamepad] Enhance Gamepad interface description for Touch (PR #168)

@bradleyneedham commented on this pull request.



> +              `touchData.touchID`.
+              </li>
+              <li>Set |touchEvent|.{{GamepadTouch/surfaceId}} to be
+              device surfaceId.
+              </li>
+              <li>Set |touchEvent|.{{GamepadTouch/position}}[0] to be
+              |normalizedX:float|.
+              </li>
+              <li>Set |touchEvent|.{{GamepadTouch/position}}[1] to be
+              |normalizedY:float|.
+              </li>
+              <li>Set |touchEvent|.{{GamepadTouch/surfaceDimensions}}[0] to be
+              device max x-axis coordinate.
+              </li>
+              <li>Set |touchEvent|.{{GamepadTouch/surfaceDimensions}}[1] to be
+              device max y-axis coordinate.<p>(<i>note: surfaceDimensions can be set to `null`</i>)</p>

Updated.

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

Message ID: <w3c/gamepad/pull/168/review/1049903353@github.com>

Received on Monday, 25 July 2022 18:43:45 UTC