You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Steam asks that the controller home button (xbox in that case) should open the Steam Overlay.
When using an input action mapped to the home button, nothing happens.
When checking the event in _input(event), the event detected is InputEventKey with a scancode of 33554431 which is unknown.
The same issue was opened in 2021: #47579
and supposed to be fixed with #48934
The problem is not present in Godot 4.1.
I've tested this on Windows and Linux (Steam deck), with an Xbox One and Xbox Series controller, both in USB and wireless with the dongle. I've also tested the action with device 0 and all devices.
I also encountered this issue and can't figure it out. To add more details, PS5 controller works fine and PS button is recognized properly. At first I thought some app in the background might be stealing input. I exited Steam, Windows Gamebar etc. Still no success.
I can dig through the engine code and try fix it, but I don't know where to start. Could anyone give me any hint where to look and debug?
If not, does the latest version from https://github.com/mdqinc/SDL_GameControllerDB have it? You can try to replace the file in Godot's 3.x or 3.5 branch by the latest upstream one to see if that solves it.
If the mapping is missing even upstream, you can try to generate one with one of the listed tools, and add it to the list. This can also be tested on the command line without having to recompile Godot, by passing SDL_GAMECONTROLLERCONFIG="<mapping string>" to the environment when running Godot.
Compare the code with the master branch which seems to be working according to the OP (after confirming it locally), to see what it does differently that might have solved this. A possibility if you have a fast computer would be to bisect to find when the bug was fixed in the master branch, between 3.2-stable and the first Godot 4 version you can find that has the bug fixed.
Godot version
3.5.2.stable
System information
Windows 10, GLES3, GTX 1070 driver 537.13
Issue description
Steam asks that the controller home button (xbox in that case) should open the Steam Overlay.
_input(event)
, the event detected isInputEventKey
with a scancode of 33554431 which is unknown.The same issue was opened in 2021: #47579
and supposed to be fixed with #48934
The problem is not present in Godot 4.1.
I've tested this on Windows and Linux (Steam deck), with an Xbox One and Xbox Series controller, both in USB and wireless with the dongle. I've also tested the action with device 0 and all devices.
The button is correctly recognized by Steam and by this gamepad tester website: https://hardwaretester.com/gamepad
Steps to reproduce
Input.is_action_just_pressed("your_action")
in_process
, it does nothingor
_input(event)
, check the following code, which will print 33554431 which is unknown key.if event is InputEventKey: print(event.scancode)
Minimal reproduction project
NA
The text was updated successfully, but these errors were encountered: