Gamepad mapping issues in Linux with 4.2

Godot Version

4.2

Question

I have noticed that gamepad input mapping with xbox/generic gamepads is very random, and doesn’t match what Godot thinks is being pressed. It’s different in the “detect keypress” from the OS settings, and that’s different again from actual gameplay with a build.

If I use steam input, it works perfectly.

I’m fairly certain this is on the linux driver side but I already confirmed the controls there are stable, has anyone seen this/fixed this?

I have no solution to that, but I can tell you that it also happens in windows. Xbox one gamepad inputs are not set correctly, and switch controls are not working correctly in windows…

This is still an issue with 4.4

I have a hyperkin Duke 10th anniversary xbox controller and it works in all the steam games but when running native on Godot it has, seemingly, random mapping.

I run a X box series controller and it works consistently with both steam based games and Godot.