Now that 1.2.157 is out, having a bunch of different gamepads, I decided to test them all on as many platforms and as many connection modes as I can, looking for issues. I’ll keep updating this post as I go through them all.
Feel free to post your own findings for your own controllers in this structured format.
I used Controllers Lite (abrev. CL from now on) on macOS to cross-check that the gamepads actually work. All the Linux tests were made on Ubuntu 18.04.2.
gdc tool
There are versions of the GDC tool for Windows, Linux and macOS. Download from the latest GitHub Release of Defold: Releases · defold/defold · GitHub
Thanks! I’ll concatenate all the mappings tomorrow, together with what’s already in builtins, but I wouldn’t add the Maxfire Blaze and Logitech Chillstream to builtins. They’re ancient, out of production controllers me and a colleague had since childhood .
I found this in the xpad driver source code, and I was wondering if we should add all those controller names (at least the ones with XTYPE_XBOX360 and XTYPE_XBOXONE) to the default .gamepads file. They probably have the same button maps (They were consistent between Xbox One, Xbox 360 and Chillstream from what I noticed).
For example, there are at least 3 versions of the Xbox One controller, with different names.
Here’s the .gamepads file with all the gamepads (what was already there in default.gamepads, Xbox 360, Xbox One, DS4, Joycons, plus all the xpad gamepads on Linux).
Hi, I found duplicates in you list for linux:
device: “Mad Catz Xbox 360 Controller”
device: “Afterglow AX.1 Gamepad for Xbox 360”
device: “PDP Xbox One Controller”
device: “Rock Candy Gamepad for Xbox 360”
device: “Logic3 Controller”
device: “PDP Afterglow AX.1”
device: “SteelSeries Stratus Duo”
device: “PDP AFTERGLOW AX.1”
device: “Razer Sabertooth”
device: “Razer Atrox Arcade Stick”
device: “Xbox Airflo wired controller”
device: “ThrustMaster Ferrari 458 Racing Wheel”
I think I can remove it? (or maybe duplicates should have another platform?)
DS4 through Bluetooth shows up as “DUALSHOCK 4 Wireless Controller” instead of just “Wireless Controller”, but gdc crashes with a segfault immediately after that.
I’m getting reports that DualShock 5 isn’t working. I checked the list in the original post and indeed it only goes as far as 4. I tried to download the utility but I get a 404.
I don’t own a DualShock 5 but my friend does. He reports that the utility is not detecting any controllers. He is confident that the controller works (i.e. it is currently being detected by other games). As expected, Fates of Ort is not detecting the gamepad. I imagine this is the case for all Defold games.