[Bug 25202] [gamepad] "id" property is unclear how its established

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25202

--- Comment #1 from Ted Mielczarek [:ted] <ted@mielczarek.org> ---
I think this got spec'ed based on my prototype implementation and we never
revisited it. Currently what Firefox does is put <USB vendor ID>-<USB product
ID>-<Gamepad name> in the id property.

I wanted the product/vendor ID in there so that content could backfill mappings
for controllers that don't provide a standard mapping. The name is nice to be
able to present to the user, but not strictly necessary.

Do you have any suggestions for what would make the most sense here? I think
maybe specifying that the id property should contain vendor id-product id if
available is sensible, and perhaps we should split the name out into a separate
name property.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Sunday, 30 March 2014 17:55:47 UTC