- From: Grovkillen <notifications@github.com>
- Date: Tue, 24 Mar 2020 05:52:04 -0700
- To: w3c/gamepad <gamepad@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Tuesday, 24 March 2020 12:52:16 UTC
Currently the type of controller is added to the id attribute. This makes the developer having to do a ".includes('STANDARD GAMEPAD')" for the id. Not ideal. So I suggest that the gamepad API have a specific attribute for this: id: "Xbox 360 Controller" mapping: "standard" type: "standard gamepad" vendor: "name of vendor" product: "name of product" plus... would it be possible to add a unique id for the controller? Like so: uuid: "uuid of the controller" -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/w3c/gamepad/issues/129
Received on Tuesday, 24 March 2020 12:52:16 UTC