-
-
Notifications
You must be signed in to change notification settings - Fork 21.9k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Right stick joypad Input not working properly with Xbox Controller on Linux with 4.2.beta1 #83552
Comments
What's the exact model of the controller(s) you're testing with? Can you retrieve the UUID(s) and mapping using one of the tools described here? https://github.com/gabomdq/SDL_GameControllerDB#mapping-tools It might be that it's just missing in SDL_GameControllerDB, or that we need to sync the past couple of weeks of additions. |
I followed the guide and took this directly from the config.vdf in Steam: "SDL_GamepadBind"
Is this enough? I'm using an Elite Series 2 model Xbox controller. The same happens for the Xbox Wireless Controller. They both seem to show up as the same entry in the config.vdf in Steam
|
This mapping seems to be missing in https://github.com/gabomdq/SDL_GameControllerDB, so it should probably be PR'ed to add to their list, which we'll then also get in Godot next time I sync. I'm just puzzled that it's described at "Xbox 360 Controller", this might be Steam Input giving it a generic name. BTW, you can test that mapping in Godot by passing it via the
|
It worked; Caveat though that differs from the original string I provided which is a Elite 2 controller. I'm on a different PC now with a regular XBOX Wireless Controller. I pulled a different value from the config.vdf and then used it and it worked when playing the game.
This was the output; there was an error talking about an input string:
Ultimately, it worked when I used the env variable |
Seems like the So the Would you be able to make a PR to https://github.com/gabomdq/SDL_GameControllerDB/blob/master/gamecontrollerdb.txt with your mappings? |
Sure, I can give that a shot |
@akien-mga Looks like the bindings were merged. What happens after that? |
Thanks for the ping, I'll sync with the SDL repo. |
Synced with mdqinc/SDL_GameControllerDB@eb831f7 Fixes godotengine#83552. (cherry picked from commit d3c0a7d)
Synced with mdqinc/SDL_GameControllerDB@eb831f7 Fixes godotengine#83552. (cherry picked from commit d3c0a7d)
Guys, help me solve this error,please, what do I need to do to make it go away? xbox series gamepad, I'm a newbie |
@Shashlik25 I use this workaround on flatpak with flatseal
030082795e040000ea02000001030000,Xbox One S Controller,a:b0,b:b1,x:b2,y:b3,back:b6,guide:b8,start:b7,leftstick:b9,rightstick:b10,leftshoulder:b4,rightshoulder:b5,dpup:h0.1,dpdown:h0.4,dpleft:h0.8,dpright:h0.2,leftx:a0,lefty:a1,rightx:a3,righty:a4,lefttrigger:a2,righttrigger:a5,
|
@Hikitile Thanks, works for me. U saved my nervs |
Synced with mdqinc/SDL_GameControllerDB@eb831f7 Fixes godotengine#83552. (cherry picked from commit d3c0a7d)
Godot version
Godot_v4.2-beta1_linux.x86_64
System information
PopOS 22.04, Linux 6.5.4-76060504-generic x86_64, Ryzen 6800h, Radeon 6700m, amdgpu, Vulkan
Issue description
When trying to map inputs on the right stick on an Xbox controller (Elite or non-elite), the mappings are incorrect still on Linux.
This is related to #81816
I commented in the above issue when it was active but the changes made did not fix the issue in Linux.
This happens on two machines and also has happened across multiple Linux distros like Fedora, Ubuntu, PopOS, Manjaro.
This also happens regardless if I used xpadone, xone, etc... and regardless of if this is over bluetooth, wired, or xbox wireless dongle
Also, the Steam output is correct and I've attached a video of it below.
Steps to reproduce
When moving the right joystick:
Down:
Left:
Right:

Up:
xinput output:
Bluetooth:
Video of Steam Output which is correct:
godot_4.2_beta1_controller_test.mp4
Minimal reproduction project
N/A
The text was updated successfully, but these errors were encountered: