Hi, I’m trying to identify a Dualshock controller on Windows to be able to change the glyphs accordingly. On action.gamepad_name I get “Wireless Controller”.
I found this about the Switch controller on Github: “Gdc reports the name of the gamepad as ‘Wireless Gamepad’, and the defold gamepad tester example project stops recognizing input if you change the name to anything else.” and this, on the same issue: “Could you please add a comment here? Like this: device: ‘Wireless Gamepad’ # Nintendo Switch Pro”
I think the same is happenning with Playstation controllers. There are also many third party controllers that appear as Xbox 360.
The question is, can the comment be added to a gamepad_model field so we can retrieve the correct gamepad name. Should I open a ticket for this?
The gamepad list included in builtins has no comments. But if there is a list with the correct names as comments, it should be fairly easy to add them to a new property.