Closed Bug 1824821 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 39227 - Add multitouch support to Gamepad API

Categories

(Testing :: web-platform-tests, task, P4)

task

Tracking

(firefox114 fixed)

RESOLVED FIXED
114 Branch
Tracking Status
firefox114 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 39227 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/39227
Details from upstream follow.

Bradley Needham <bradley.needham@sony.com> wrote:

Add multitouch support to Gamepad API

Changes and updates have been made to Fernando Attia's patchset 1612050.
The implementation has been changed to support the most recent changes
to the spec https://github.com/w3c/gamepad/pull/168.

Support for DualShock4 controller is part of patch.
This commit is a squash of several changes the last major one is:
Normalize touchIds per Gamepad

The same hardware may provide input to Gamepads in different tabs.
This commit normalizes touchIds coming from the hardware to a single
incremented value starting at zero per Gamepad instance.

Extend the Gamepad API to support multitouch surfaces (touchpads).
Intent to prototype :
https://groups.google.com/a/chromium.org/g/blink-dev/c/4q_k23rPMos

Chrome status entry:
https://www.chromestatus.com/feature/4782975812108288

R=mattreynolds@chromium.org

Change-Id: I0fa2006c3fc36a908b316cc29b97d295aac798ca

Update idl to match current spec draft

Normalize touchid to 32bit value.

Update web tests.

Bug: 1143942
Change-Id: I80ed31ebf0c6a347906b91b3c178099d1e332c53
Reviewed-on: https://chromium-review.googlesource.com/3866373
WPT-Export-Revision: 455e942527f92a109109a267a578ff271760184d

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/a068c8115277 [wpt PR 39227] - Add multitouch support to Gamepad API, a=testonly
Test result changes from PR not available.
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 114 Branch
You need to log in before you can comment on or make changes to this bug.