Re: [w3c/gamepad] Add vendorId, productId, name attributes (PR #202)

@marcoscaceres commented on this pull request.



> @@ -147,6 +147,9 @@ <h2>
         [Exposed=Window]
         interface Gamepad {
           readonly attribute DOMString id;
+          readonly attribute unsigned short? vendorId;
+          readonly attribute unsigned short? productId;

We should also provide some guidance here... right now, for instance, Firefox and Chrome are different in their IDs with respect to the "0":

Chrome is:
"DualSense Wireless Controller (STANDARD GAMEPAD Vendor: 054c Product: 0ce6)"
Firefox is:
"54c-ce6-DualSense Wireless Controller"

It might make them easier to identify? 

-- 
Reply to this email directly or view it on GitHub:
https://github.com/w3c/gamepad/pull/202#discussion_r1597556427
You are receiving this because you are subscribed to this thread.

Message ID: <w3c/gamepad/pull/202/review/2051294464@github.com>

Received on Sunday, 12 May 2024 05:45:24 UTC