- From: Marcos Cáceres <notifications@github.com>
- Date: Thu, 13 Feb 2025 16:26:07 -0800
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 14 February 2025 00:26:11 UTC
@marcoscaceres commented on this pull request. > + <p> + To <dfn>record touches</dfn> for |gamepad:Gamepad|, run the following + steps: + </p> + <ol class="algorithm"> + <li>Assert: {{Gamepad}}.{{Gamepad/[[touches]]}} is [=list/empty=]. + </li> + <li>Repeat the following steps for each touch surface on |gamepad| in + touch surface enumeration order: + <ol> + <li>Let |surfaceId:unsigned long| be the current surface + enumeration index. + </li> + <li>If the touch surface exposes maximum surface dimensions in + device units, then set |touch|.{{GamepadTouch/surfaceDimensions}} + to a {{DOMRect}} with `width` and `height` initialized to the ```suggestion to a {{DOMRectReadOnly}} with {{DOMRectReadOnly/width}} and {{DOMRectReadOnly/height}} initialized to the ``` -- Reply to this email directly or view it on GitHub: https://github.com/w3c/gamepad/pull/198#pullrequestreview-2616488883 You are receiving this because you are subscribed to this thread. Message ID: <w3c/gamepad/pull/198/review/2616488883@github.com>
Received on Friday, 14 February 2025 00:26:11 UTC