Bug 273981

Summary: Gamepad: Add vendorId, productId, name attributes
Product: WebKit Reporter: Marcos Caceres <marcosc>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: NEW    
Severity: Normal CC: webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: Other   
Hardware: Unspecified   
OS: Unspecified   

Marcos Caceres
Reported 2024-05-09 16:58:50 PDT
Gamepad identification relies on assumptions about browser-specific behaviors that are not defined as part of the spec. Gamepad API only exposes one device identifier for gamepads, the Gamepad.id string attribute. The content of this attribute is explicitly left unspecified. Each browser engine uses a different naming scheme. Adding Add vendorId, productId, along with the name attribute would bring some consistency. Spec change: https://github.com/w3c/gamepad/issues/199
Attachments
Radar WebKit Bug Importer
Comment 1 2024-05-16 16:59:16 PDT
Note You need to log in before you can comment on or make changes to this bug.