Issue with controller inputs in menu

Godot Version

4.2.1

Question

Hi everyone !
First time posting here :slight_smile:

So, I set my menus up, everything was working perfectly with both keyboard and controller inputs, with the built-in actions ui_up and ui_down.
I left my project aside for a few months, and now, keyboard inputs in menus are still perfectly fine, but controller inputs aren’t working anymore.
ui_up and ui_down are set with keyboard keys, Joypad D-pad up and down, and Joypad Axis 1 - and +.
Joypad controls are set on All Devices.
If I set a print with those actions, keyboard inputs trigger a console print, but not controller inputs.
If I set a different action with Joypad D-pad as an example, and set a console print, the action triggers a print correctly.
And in-game controller inputs, set with different actions, are working perfectly fine.
I’m trying to solve this problem for several hours now, and can’t seem to figure it out.
Why would the keyboard part of an action trigger this action, and not the controller part of this very same action ? Only for the built-in menu handling actions, and not the other ones I set myself ?
Thanks in advance !

It is unlikely that the project “went bad” just because you left it for awhile. If it used to work and then stopped you must have changed something, directly or indirectly. Try to remember what it was.

It might be something with the focus. Probably you input events are just consumed by another control having the input focus and do not reach the one where you have the print when you are using the gamepad.

1 Like

Thank you for your answer !
Yeah, I totally agree, this must come from the last things I modified before leaving this project aside.
I created a new menu on another project, everything is fine, so Godot and my controller are OK.
So definitely, you’re right, something must absorb controller inputs, but not keyboard ones…
I will check for this, thanks again !