- From: Marcos Cáceres <notifications@github.com>
- Date: Thu, 13 Feb 2025 16:49:45 -0800
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 14 February 2025 00:49:49 UTC
@marcoscaceres commented on this pull request.
> + <dfn>position</dfn>
+ </dt>
+ <dd>
+ A {{DOMPointReadOnly}} which holds the {{DOMPointReadOnly/x}}, {{DOMPointReadOnly/y}} coordinates of the touch event.
+ The z and w value are currently unused. The range of each coordinate
+ is normalized to [-1.0, 1.0]. Along the x-axis, -1.0 references the
+ leftmost coordinate and 1.0 references the rightmost coordinate.
+ Along the y-axis, -1.0 references the topmost coordinate and 1.0
+ references the bottommost coordinate.
+ </dd>
+ <dt>
+ <dfn>surfaceDimensions</dfn>
+ </dt>
+ <dd>
+ A {{DOMRectReadOnly}} initialized with the {{DOMRectReadOnly/width}} and {{DOMRectReadOnly/height}} of the touch
+ surface in integer units. If not available then <code>null</code>.
```suggestion
surface in integer units. If not available then {{GamepadTouch/surfaceDimensions}} <code>null</code>.
```
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/pull/198#pullrequestreview-2616515271
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/gamepad/pull/198/review/2616515271@github.com>
Received on Friday, 14 February 2025 00:49:49 UTC