Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add multitouch support to Gamepad API #39227

Merged
merged 1 commit into from
Apr 4, 2023

Conversation

chromium-wpt-export-bot
Copy link
Collaborator

@chromium-wpt-export-bot chromium-wpt-export-bot commented Mar 27, 2023

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 w3c/gamepad#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=[email protected]

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/c/chromium/src/+/3866373
Reviewed-by: Matt Reynolds <[email protected]>
Commit-Queue: Matt Reynolds <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1126297}

Copy link
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Chromium project.

@chromium-wpt-export-bot chromium-wpt-export-bot force-pushed the chromium-export-cl-3866373 branch 4 times, most recently from 51ea560 to 251fe71 Compare April 3, 2023 16:13
jonathan-j-lee added a commit to jonathan-j-lee/wpt that referenced this pull request Apr 3, 2023
These tests are timing out on Firefox macOS and blocking unrelated PRs
(e.g., web-platform-tests#39196, web-platform-tests#39201, web-platform-tests#39227):

```
/infrastructure/server/webtransport-h3.https.sub.any.serviceworker.html
  TIMEOUT WebTransport server should be running and should handle a bidirectional stream - Test timed out
  TIMEOUT /infrastructure/server/webtransport-h3.https.sub.any.serviceworker.html
/infrastructure/server/webtransport-h3.https.sub.any.worker.html
  TIMEOUT WebTransport server should be running and should handle a bidirectional stream - Test timed out
  TIMEOUT /infrastructure/server/webtransport-h3.https.sub.any.worker.html
/infrastructure/server/webtransport-h3.https.sub.any.sharedworker.html
  TIMEOUT WebTransport server should be running and should handle a bidirectional stream - Test timed out
  TIMEOUT /infrastructure/server/webtransport-h3.https.sub.any.sharedworker.html
/infrastructure/server/webtransport-h3.https.sub.any.html
  TIMEOUT WebTransport server should be running and should handle a bidirectional stream - Test timed out
  TIMEOUT /infrastructure/server/webtransport-h3.https.sub.any.html
```

Disable them for now. Also, remove the `.any.window.html` section, which
is redundant with `.any.html`.
jonathan-j-lee added a commit to jonathan-j-lee/wpt that referenced this pull request Apr 3, 2023
These tests are timing out on Firefox macOS and blocking unrelated PRs
(e.g., web-platform-tests#39196, web-platform-tests#39201, web-platform-tests#39227):

```
/infrastructure/server/webtransport-h3.https.sub.any.serviceworker.html
  TIMEOUT WebTransport server should be running and should handle a bidirectional stream - Test timed out
  TIMEOUT /infrastructure/server/webtransport-h3.https.sub.any.serviceworker.html
/infrastructure/server/webtransport-h3.https.sub.any.worker.html
  TIMEOUT WebTransport server should be running and should handle a bidirectional stream - Test timed out
  TIMEOUT /infrastructure/server/webtransport-h3.https.sub.any.worker.html
/infrastructure/server/webtransport-h3.https.sub.any.sharedworker.html
  TIMEOUT WebTransport server should be running and should handle a bidirectional stream - Test timed out
  TIMEOUT /infrastructure/server/webtransport-h3.https.sub.any.sharedworker.html
/infrastructure/server/webtransport-h3.https.sub.any.html
  TIMEOUT WebTransport server should be running and should handle a bidirectional stream - Test timed out
  TIMEOUT /infrastructure/server/webtransport-h3.https.sub.any.html
```

Disable them for now. Also, remove the `.any.window.html` section, which
is redundant with `.any.html`.
gsnedders pushed a commit that referenced this pull request Apr 4, 2023
These tests are timing out on Firefox macOS and blocking unrelated PRs
(e.g., #39196, #39201, #39227):

```
/infrastructure/server/webtransport-h3.https.sub.any.serviceworker.html
  TIMEOUT WebTransport server should be running and should handle a bidirectional stream - Test timed out
  TIMEOUT /infrastructure/server/webtransport-h3.https.sub.any.serviceworker.html
/infrastructure/server/webtransport-h3.https.sub.any.worker.html
  TIMEOUT WebTransport server should be running and should handle a bidirectional stream - Test timed out
  TIMEOUT /infrastructure/server/webtransport-h3.https.sub.any.worker.html
/infrastructure/server/webtransport-h3.https.sub.any.sharedworker.html
  TIMEOUT WebTransport server should be running and should handle a bidirectional stream - Test timed out
  TIMEOUT /infrastructure/server/webtransport-h3.https.sub.any.sharedworker.html
/infrastructure/server/webtransport-h3.https.sub.any.html
  TIMEOUT WebTransport server should be running and should handle a bidirectional stream - Test timed out
  TIMEOUT /infrastructure/server/webtransport-h3.https.sub.any.html
```

Disable them for now. Also, remove the `.any.window.html` section, which
is redundant with `.any.html`.
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 w3c/gamepad#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

[email protected]

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/c/chromium/src/+/3866373
Reviewed-by: Matt Reynolds <[email protected]>
Commit-Queue: Matt Reynolds <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1126297}
@chromium-wpt-export-bot chromium-wpt-export-bot merged commit c03609e into master Apr 4, 2023
@chromium-wpt-export-bot chromium-wpt-export-bot deleted the chromium-export-cl-3866373 branch April 4, 2023 23:47
cookiecrook pushed a commit to cookiecrook/wpt that referenced this pull request Apr 8, 2023
These tests are timing out on Firefox macOS and blocking unrelated PRs
(e.g., web-platform-tests#39196, web-platform-tests#39201, web-platform-tests#39227):

```
/infrastructure/server/webtransport-h3.https.sub.any.serviceworker.html
  TIMEOUT WebTransport server should be running and should handle a bidirectional stream - Test timed out
  TIMEOUT /infrastructure/server/webtransport-h3.https.sub.any.serviceworker.html
/infrastructure/server/webtransport-h3.https.sub.any.worker.html
  TIMEOUT WebTransport server should be running and should handle a bidirectional stream - Test timed out
  TIMEOUT /infrastructure/server/webtransport-h3.https.sub.any.worker.html
/infrastructure/server/webtransport-h3.https.sub.any.sharedworker.html
  TIMEOUT WebTransport server should be running and should handle a bidirectional stream - Test timed out
  TIMEOUT /infrastructure/server/webtransport-h3.https.sub.any.sharedworker.html
/infrastructure/server/webtransport-h3.https.sub.any.html
  TIMEOUT WebTransport server should be running and should handle a bidirectional stream - Test timed out
  TIMEOUT /infrastructure/server/webtransport-h3.https.sub.any.html
```

Disable them for now. Also, remove the `.any.window.html` section, which
is redundant with `.any.html`.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants