When using SDL on Linux with a Nintendo Switch Pro Controller, the values given for the X and Y axes are swapped around. Experimenting using this PR for Godot, the X and Y axes are rotated 90 degrees clockwise from their "proper" rotation which seems to be the cause of the problem.