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;

Hmm... I guess it's just as easy to do:

```JS
gamepad.productId?.toString(16);
```

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

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

Received on Sunday, 12 May 2024 05:53:52 UTC