This series of patches add support for HTML5 Gamepad API. This sould be conforming to spec: http://www.w3.org/TR/gamepad/ It will consists of required changes in WebCore, layout tests for new implementation and events and Gamepad support in EFL and GTK port. There will be total of 5 patches - first 2 will introduce changes which can affect other features, next there will be common Gamepad implementation and in the end per port code. More information about each change in relevant bug description.
Relevant bugs were updated with patches. Please take a look if you are interested.
Gamepad API was implemented by mac port. This ticket may aim to implement the spec for non-mac ports. But patches look very old and outdated. Michal, are you still working on this? If not, I'd like to take this over.
My rough sketch is here, https://github.com/shivamidow/webkit/commits/gamepad-api.
Created attachment 411785 [details] Patch
Comment on attachment 411785 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=411785&action=review > ChangeLog:9 > + because libmanette is not availble in the current Debian "old stable" (Buster), which typo: available
(In reply to Darin Adler from comment #5) > Comment on attachment 411785 [details] > Patch > > View in context: > https://bugs.webkit.org/attachment.cgi?id=411785&action=review > > > ChangeLog:9 > > + because libmanette is not availble in the current Debian "old stable" (Buster), which > > typo: available Thanks, I will fix this before landing.
This changes the public build options, so I will need an approval from a second reviewer, ideally working closely with the GTK port =)
Comment on attachment 411785 [details] Patch LGTM
(In reply to Carlos Garcia Campos from comment #8) > Comment on attachment 411785 [details] > Patch > > LGTM Thanks!
Created attachment 411852 [details] Patch for landing
Committed r268725: <https://trac.webkit.org/changeset/268725> All reviewed patches have been landed. Closing bug and clearing flags on attachment 411852 [details].