[w3c/gamepad] "STANDARD GAMEPAD" should be defined in a separate attribute (#129)

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