Bug 270575
| Summary: | [GTK][WPE] Make gamepad visible/connected on axis movement | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Miguel Gomez <magomez> |
| Component: | WPE WebKit | Assignee: | Miguel Gomez <magomez> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bugs-noreply |
| Priority: | P2 | ||
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Miguel Gomez
According to the spec in https://www.w3.org/TR/gamepad/#dfn-gamepadconnected: If a gamepad was already connected when the page was loaded, the gamepadconnected event SHOULD be dispatched when the user presses a button or moves an axis.
Currently we don't dispatch the gamepadconnected event when the axis is moved, just when a button is pressed.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Miguel Gomez
Pull request: https://github.com/WebKit/WebKit/pull/25535
EWS
Committed 275781@main (6b3a8aa7666d): <https://commits.webkit.org/275781@main>
Reviewed commits have been landed. Closing PR #25535 and removing active labels.