Implement "dumb" WK2 support for gamepads The support is "dumb" because: - It uses a timer to refresh gamepad values instead of syncing to the display as spec'ed - It sends gamepad updates to all tabs instead of just the focused tab Those are tracked by https://bugs.webkit.org/show_bug.cgi?id=160673 and https://bugs.webkit.org/show_bug.cgi?id=160699, respectively.
Created attachment 285652 [details] Patch
Created attachment 285658 [details] Patch
Comment on attachment 285658 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=285658&action=review r=me. Verified functionality manually. We really need some tests. > Source/WebKit2/Shared/Gamepad/GamepadData.h:50 > + String loggingString() const; #if !LOG_DISABLED around this?
Comment on attachment 285658 [details] Patch Clearing flags on attachment: 285658 Committed r204297: <http://trac.webkit.org/changeset/204297>
All reviewed patches have been landed. Closing bug.