[Webkit-unassigned] [Bug 134675] New: WK2 support for gamepads

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 6 22:06:39 PDT 2014


https://bugs.webkit.org/show_bug.cgi?id=134675

           Summary: WK2 support for gamepads
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: All
        OS/Version: All
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: WebKit2
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: beidson at apple.com
            Blocks: 134076


WK2 support for gamepads

This will involve a GamepadProvider in the UIProcess that talks to WebProcesses.  This is necessary because:

1 - Sandbox'ed WebProcesses might not have direct access to the gamepad hardware
2 - Only one process should be monitoring connect/disconnect/input events on behalf of everybody, for efficiencies sake.
3 - If different WebProcesses did their own monitoring then their views of gamepad state would all be out of sync with each other.

I have a mega patch that does all of this by having the UIProcess dump gamepad state into SharedMemory, which the WebProcesses then read out of.  It works well in practice.  It needs some cleanup and to be split into pieces, for which I'll file sub-bugs here.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list