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   

Description Marcos Caceres 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
Comment 1 Radar WebKit Bug Importer 2024-05-16 16:59:16 PDT
<rdar://problem/128236455>