Bug 134076

Summary: Updated Gamepad API support
Product: WebKit Reporter: Brady Eidson <beidson>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: gyuyoung.kim, karlcow, kbalazs, syoichi
Priority: P2 Keywords: InRadar
Version: 528+ (Nightly build)   
Hardware: All   
OS: All   
Bug Depends on: 161056, 161148, 161150, 161198, 161407, 134108, 134165, 134255, 134324, 134325, 134348, 134374, 134375, 134381, 134386, 134671, 134675, 136110, 136193, 160599, 160605, 160673, 160699, 160700, 160760, 160871, 161086, 161112, 161412    
Bug Blocks:    

Description Brady Eidson 2014-06-19 14:40:14 PDT
As a pet project I've been working on getting the Gamepad API [1] working on Mac platforms.

In my spare time I hope to start landing patches towards that effort.

The very first thing I had to do is bring the existing Gamepad API code up to spec, as it's languished for over 3 years and doesn't resemble the current working draft.

Then I'll build on that adding a better platform abstraction layer that can support both WK1 and WK2, and include a preliminary Mac implementation.

I'll file individual bugs for individual patches, and this bug can be considered an umbrella.

[1] - http://www.w3.org/TR/gamepad/
Comment 1 Brady Eidson 2014-06-19 14:40:27 PDT
<rdar://problem/17307745>
Comment 2 Brady Eidson 2014-06-20 10:09:24 PDT
Filed https://bugs.webkit.org/show_bug.cgi?id=134108 to deprecate the existing implementation.
Comment 3 Brady Eidson 2014-06-21 14:56:06 PDT
FIled https://bugs.webkit.org/show_bug.cgi?id=134165 to land skeleton interface and implementation files for the current API.
Comment 4 Brady Eidson 2014-06-24 11:05:02 PDT
Filed https://bugs.webkit.org/show_bug.cgi?id=134255 to enable the feature build on Mac, but completely hiding it behind a runtime setting.
Comment 5 Brady Eidson 2014-06-24 11:11:09 PDT
Again with the Shader thing, ugh.
Comment 6 Brady Eidson 2014-06-25 19:25:42 PDT
Filed https://bugs.webkit.org/show_bug.cgi?id=134325 to add new platform gamepad abstractions

Filed https://bugs.webkit.org/show_bug.cgi?id=134324 to add a HID-based implementation of those platform abstractions on Mac, and actually get the API working in-process.
Comment 7 Brady Eidson 2014-06-26 09:52:40 PDT
Filed https://bugs.webkit.org/show_bug.cgi?id=134348 to remove the use of PlatformStrategies
Comment 8 Brady Eidson 2014-06-26 18:31:38 PDT
Filed https://bugs.webkit.org/show_bug.cgi?id=134374 for HIDGamepadProvider to stop listening if nobody is interested.

Filed https://bugs.webkit.org/show_bug.cgi?id=134375 for Gamepad interaction to cause gamepads to become visible to NavigatorGamepad objects
Comment 9 Brady Eidson 2014-06-26 20:58:45 PDT
Filed https://bugs.webkit.org/show_bug.cgi?id=134381 for HIDGamepads to populate initial input values
Comment 10 Brady Eidson 2014-06-26 22:41:47 PDT
Filed https://bugs.webkit.org/show_bug.cgi?id=134386 for firing connected/disconnected events.
Comment 11 Brady Eidson 2014-07-06 17:18:44 PDT
Filed https://bugs.webkit.org/show_bug.cgi?id=134671 for layout test support.
Comment 12 Brady Eidson 2014-07-06 22:07:24 PDT
Filed https://bugs.webkit.org/show_bug.cgi?id=134675 to track WebKit2 support