Bug 215486

Summary: (WK2 only) Gamepad mapping stops being reported as “standard” in new tabs
Product: WebKit Reporter: Brady Eidson <beidson>
Component: WebKit Misc.Assignee: Brady Eidson <beidson>
Status: RESOLVED FIXED    
Severity: Normal CC: thorton
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch none

Description Brady Eidson 2020-08-13 19:07:22 PDT
(WK2 only) gamepad mapping stops being reported as “standard” in new tabs


There was code for gamepad events to separate "full gamepaddata" and "condensed gamepaddata" for IPC efficiency that was causing this.
In reality, that code was a premature optimization. The button and axis data from a standard gamepad is larger than the mapping and id data.

Let's just always send all data across the pipe.

<rdar://problem/66946505>
Comment 1 Brady Eidson 2020-08-13 19:12:01 PDT
Created attachment 406564 [details]
Patch
Comment 2 EWS 2020-08-13 22:01:55 PDT
Committed r265644: <https://trac.webkit.org/changeset/265644>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 406564 [details].