[webkit-dev] Updating HTML Gamepad support

Brady Eidson beidson at apple.com
Thu Jun 19 14:52:26 PDT 2014


Hi all,

As a pet project I’ve been pecking away at supporting the Gamepad API on Mac.  You can follow along in https://bugs.webkit.org/show_bug.cgi?id=134076.

The first glaring thing I noticed is how out of date the current code is.  The Gamepad code currently in the tree has gone over 3 years without any real development.

In the meantime the working draft for the Gamepad API [1] is much different than what’s in our tree.  Also at least 1 other engine (Mozilla) has shipped support matching the newer API.

I plan to completely break what’s currently in the tree in a non-backwards compatible way.  Grep’ing the tree I conclude that this is okay because:

- Only EFL and GTK have Gamepad support code
- The code only supports in-process WebKit1
- GTK has it disabled
- EFL has it enabled, but has also committed to dropping WK1 support

If I am wrong and somebody has a compelling reason to keep supporting the version of the API that exists in the tree today, please contact me here or in the bugzilla.  *SOON*.

Thanks!
~Brady

[1] - http://www.w3.org/TR/gamepad/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.webkit.org/pipermail/webkit-dev/attachments/20140619/a81d22a8/attachment.html>


More information about the webkit-dev mailing list