NEW273981
Gamepad: Add vendorId, productId, name attributes
https://bugs.webkit.org/show_bug.cgi?id=273981
Summary Gamepad: Add vendorId, productId, name attributes
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.