Multiplex the HID and GameController gamepad providers on Mac Both providers have worked fine on Mac for awhile. By teaching WebKit how to use both at the same time, we get more gamepads, and better support for GameController.framework devices
<rdar://problem/63192532>
Created attachment 403848 [details] Patch
Created attachment 403870 [details] Patch
Created attachment 403871 [details] Patch
Created attachment 403872 [details] Patch
Created attachment 403877 [details] Patch
Created attachment 403878 [details] Patch
Created attachment 403888 [details] Patch
Created attachment 403889 [details] Patch
Created attachment 403896 [details] Patch
Created attachment 403901 [details] Patch
Created attachment 403903 [details] Patch
Created attachment 403904 [details] Patch
Created attachment 403905 [details] Patch
Created attachment 403907 [details] Patch
Created attachment 403910 [details] Patch
This is intolerable. The IOKitSPI.h header is bizarrely kinda cross platform but not really. Forget it. Doing something else.
Created attachment 403912 [details] Patch
Created attachment 403919 [details] Patch
Created attachment 403920 [details] Patch
Comment on attachment 403920 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=403920&action=review > Source/WebCore/platform/gamepad/cocoa/GameControllerGamepadProvider.h:59 > + void makeInvisibileGamepadsVisible(); s.p. invisibile
Created attachment 403936 [details] PFL
Committed r264207: <https://trac.webkit.org/changeset/264207> All reviewed patches have been landed. Closing bug and clearing flags on attachment 403936 [details].