Bug 298310
| Summary: | [GTK][WPE] Gamepad press buttons or axis events not triggered | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Diego Pino <dpino> |
| Component: | New Bugs | Assignee: | Diego Pino <dpino> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Diego Pino
How to reproduce:
- Open https://hardwaretester.com/gamepad with WebKitGTK's or WPEWebKit's Minibrowser (Tools/Scripts/run-minibrowser --wpe --release https://hardwaretester.com/gamepad)
- The website shows a gamepad. Using a connected gamepad, press a button or move the axis in the controller.
Expected result:
- The events are recognized and the corresponding button or axis is highlighted according to the mapping stated in https://www.w3.org/TR/gamepad/#remapping
Actual result:
- In the case of WPEWebKit, neither axis nor button events are triggered.
- In the case of WebKitGTK, axis event is triggered but not button events.
Results may vary depending on the gamepad used. In my case I've used a "Sega 6B Controller" gamepad.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Diego Pino
Pull request: https://github.com/WebKit/WebKit/pull/50230
EWS
Committed 299618@main (5dbec340da22): <https://commits.webkit.org/299618@main>
Reviewed commits have been landed. Closing PR #50230 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/159934355>