Something is wrong with xbox remotes on mobile

Ive been working on a mobile project, and im doing controller support. @gertkeno helped me out with my last problem that was related to mobile not properly registering input from a game controller’s trigger. This issue that i am experiencing is closely related to my previous issue in that it deals with game controllers, and their triggers.

here is my action:
image

When i test this action in-game on my pc, the right trigger behaves just as it should. And it works this way on my newest Xbox controller, my oldest Xbox controller, and my PS4 controller.

however whenever i port my project to my phone, for some reason the right trigger only works on my PS4 controller. The Input on my xbox controller is completely flipped! The Right trigger binding is on the Left trigger, and the Left trigger binding is on the Right trigger. So when i want to shoot i have to press the Left trigger on my xbox remotes. Im confused by this and i would like players to use both xbox and ps controllers and have the same measure of compatability. Ive also tried this on one other phone and it works the exact same way.

Thank you for your time and help in advance!

It may not be correctly mapped internally. There’s a PR open that may fix this issue Fix Xbox Controller on Android by Alex2782 · Pull Request #106021 · godotengine/godot · GitHub

1 Like

Then the issue must be on Godot’s end. Glad to see that someone else has my issue. Maybe it’ll get fixed in the next update

Looks like the code just needs a review, so it’s likely.

1 Like