- From: Gabriel Brito <notifications@github.com>
- Date: Thu, 14 Nov 2024 16:46:23 -0800
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 15 November 2024 00:46:27 UTC
@gabrielsanbrito commented on this pull request.
> + <dt>
+ <dfn>touchId</dfn> attribute
+ </dt>
+ <dd>
+ Unique id of the touch event. Range is [0, 4294967295].
+ <p>
+ The user agent is responsible for:
+ </p>
+ <ul>
+ <li>Incrementing the id for each subsequent touch event based on
+ information provided by the device API.
+ </li>
+ <li>Maintaining the uniqueness of the id per origin to prevent
+ fingerprinting.
+ </li>
+ </ul>{{GamepadTouch/touchId}} SHOULD be set to a default value of 0
Instead of using `0` here, should we store a `touchId` counter in an internal slot somewhere? Maybe in the target `Gamepad` object?
--
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/pull/198#pullrequestreview-2437459858
You are receiving this because you are subscribed to this thread.
Message ID: <w3c/gamepad/pull/198/review/2437459858@github.com>
Received on Friday, 15 November 2024 00:46:27 UTC