godotengine / godot

Godot Engine – Multi-platform 2D and 3D game engine
https://godotengine.org
MIT License
91k stars 21.17k forks source link

GUI Button Navigation Bluetooth Gamepad Joystick Repeat #82394

Open Mainman002 opened 1 year ago

Mainman002 commented 1 year ago

Godot version

4.1.2-RC1

System information

LinuxBSD

Issue description

I noticed when using a Bluetooth controller on Steam Deck that the left joystick was repeating way too quickly for me to change gui button focus properly (Steam Deck left joystick works properly, it selects the next gui button one time when pressed up)

Screenshot 2023-09-26 at 2 32 23 PM

Steps to reproduce

Export game to Linux, on Steam Deck go into Desktop Mode, copy app image to Steam Deck, mark app image as executable, add to Steam, go back into Game Mode, connect a bluetooth controller, launch game, and navigate with left stick

Minimal reproduction project

Godot4_1_2_RC1_Input_Bug.zip

NickHatBoecker commented 7 months ago

Same happens with an Xbox gamepad. The automatic focussing via Control Nodes skips several buttons with Joystick. Using the dpad it works fine.

Calinou commented 5 months ago
dicemaster5 commented 5 months ago

I've got this same issue happening when navigating a list of buttons using a Xbox One controller, with left joystick and D-pad. It seems to be doubling the input skipping the focus of the next button up or down the list.

[Edit] I've now figured out that the double input was being caused by having Steam running in the background. Closing steam completely will resolves this issue for me.