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.
Gamepad Tester project: publicexamples/examples/gamepad_tester at master · britzl/publicexamples · GitHub
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
TLDR:
Just download this and most things will work:
all_gamepads.gamepads.txt (450.7 KB)
Big table of gamepads
Gamepad | OS | Issues | Gamepad mapping |
---|---|---|---|
Xbox One (Bluetooth) | macOS |
gdc doesn’t see triggers (Button 18/19, analog, in CL) and the share and guide buttons (Button 17/1 in CL). Everything else works. |
xboxone_bt_mac.gamepads.txt (2.7 KB) |
Xbox One (Bluetooth) | Windows | Same issue as Xbox 360 Wireless | See xbox360_win.gamepads.txt |
Xbox One (Bluetooth, default Ubuntu driver) | Linux | Driver doesn’t report share and guide buttons. Everything else works. | xboxone_bt_linux.gamepads.txt (3.3 KB) |
Xbox One (Bluetooth, xpadneo driver) | Linux | All ok, but has the same name as the default driver, so cannot use both maps at the same time. | xboxone_xpadneo_linux.gamepads.txt (2.6 KB) |
Xbox One (USB) (driver) | macOS | All ok | default.gamepads |
Xbox One (USB) | Windows | Same issue as Xbox 360 Wireless | See xbox360_win.gamepads.txt |
Xbox One (USB) | Linux | All ok | xboxone_usb_linux.gamepads.txt (2.6 KB) |
Xbox 360 Wireless (with dongle) (driver) | macOS | All ok | default.gamepads |
Xbox 360 Wireless (with dongle) | Windows | Using default.gamepads the triggers are stuck in the 0.5-1.0 range. Creating a new mapping with gdc works ok. Forum post
|
xbox360_win.gamepads.txt (2.3 KB) |
Xbox 360 Wireless (with dongle) | Linux | All ok | xbox360_linux.gamepads.txt (2.6 KB) |
DualShock 4 (Bluetooth) | macOS | Defold sees it as “Wireless Controller” and uses the same mapping as USB DS4. gdc sees it, but pressing anything does nothing. Forum post
|
|
DualShock 4 (Bluetooth) (driver) | Windows | Same issue as Xbox 360 Wireless; gdc freezes with this connected, but works in-engine | See xbox360_win.gamepads.txt |
DualShock 4 (Bluetooth) | Linux | All ok | ds4_bt_linux.gamepads.txt (3.5 KB) |
DualShock 4 (USB) | macOS | All ok | default.gamepads |
DualShock 4 (USB) (driver) | Windows | Same issue as Xbox 360 Wireless; gdc freezes with this connected, but works in-engine | See xbox360_win.gamepads.txt |
DualShock 4 (USB) | Linux | All ok | ds4_usb_linux.gamepads.txt (3.6 KB) |
JoyCon L (Bluetooth) | macOS | All ok. Stick is not analog due to OS driver limitations | joycon_l_mac.gamepads.txt (1.0 KB) |
JoyCon R (Bluetooth) | macOS | All ok. Stick is not analog due to OS driver limitations | joycon_r_mac.gamepads.txt (1.0 KB) |
JoyCon L (Bluetooth) (driver) | Windows | Couldn’t get it to recognize as an XInput device (probably driver issue) | |
JoyCon R (Bluetooth) (driver) | Windows | Couldn’t get it to recognize as an XInput device (probably driver issue) | |
JoyCon L (Bluetooth) | Linux | All ok. Stick is not analog due to OS driver limitations | joycon_l_linux.gamepads.txt (1.6 KB) |
JoyCon R (Bluetooth) | Linux | All ok. Stick is not analog due to OS driver limitations | joycon_r_linux.gamepads.txt (1.6 KB) |
Logitech Chillstream (old aftermarket Wired 360 clone, XInput) (USB) (driver) | macOS | All ok | default.gamepads |
Logitech Chillstream (USB) | Windows | Same issue as Xbox 360 Wireless | See xbox360_win.gamepads.txt |
Logitech Chillstream (USB) | Linux | All ok | chillstream_linux.gamepads.txt (2.6 KB) |
Genius Maxfire Blaze 3 (ancient DualShock 1 clone, DirectInput) (USB) | macOS | All ok | maxfireblaze3_mac.gamepads.txt (2.2 KB) |
Genius Maxfire Blaze 3 (USB) | Windows | Doesn’t work due to it not being XInput | |
Genius Maxfire Blaze 3 (USB) | Linux | All ok | maxfireblaze3_linux.gamepads.txt (3.3 KB) |