Input issues OptionButton with controller

Godot Version

4.2.2

Question

When I have my optionbutton’s popup showing and I go to use the ui_select for my controller it doesnt select any options in the popup. But if i press the keyboard key for ui_select it does select the focused option. Could this be a mouse passthrough issue or what?

Sorry for stupid question but are you sure that your gamepad is connected?

Yeah, tried it on an empty scene and new project. Can navigate and press buttons just not select in the OptionButton

show me pls your script

There is no script its on an empty project with ui_select binded to the “A” button on my Xbox controller. I have a singular node of a OptionButton with the only properties edited within the OptionButton was 2 items created called “Test1” and “Test2”. I can move within the popup with my controller and arrow keys but when i go to select the space-bar works but not when I press the A key.

ok. Show me pls option button properties

This is the only property that is changed, the rest is default values nothing else was changed.

In an option button properties find shortcut option and add your gamepad button

Just tried, still doesn’t work. Are you able to select an option with a controller on your own setup? I also am not receiving events under “_input” when the popup is visible in script.

did u bind your button in InputEventJoypadButton bc it worked when i was testing

And you said u have no scripts and now you saying you have a script

The script part was when i testing it on another project. The screenshot i sent you was on a new project just created with only a optionButton so it was not being edited by anything, all default settings. This is my binding for “ui_select” which is again unedited and still doesn’t work. I’m currently on a Linux machine so I don’t know if that has anything to do with it but I know my controller works in Godot

So send me pls a script from the main project

There is no scripts on the empty project? I dont care if it could work on my main project if it doesn’t even work on an empty project.

my bad

No animosity to the inquiry, this just seems like an engine issue and/or maybe I need to try on another machine.

I don’t think that there was any animosity but Idk what to do bc I proposed u all I know (And it worked when I was testing mb it is a problem on linux)

Yeah I’ll wait to see if someone else has an issue with this and then go ask GitHub if i need to. Thanks for trying

Answer: The input name for controller was “ui_accept” not “ui_select”.

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.