Skip to content

UI focus change is triggered too often when using gamepad analog stick to navigate menus (does not occur with D-pad or keyboard) #54959

Closed
@rick551a

Description

Godot version

3.4 stable

System information

Windows10, Nvidia

Issue description

Navigating a menu with gamepad left stick axis is impossible using the default settings.

Cannot focus on controls in the usual manner.
I've encountered this on older versions too.

Steps to reproduce

1)Create a few contols on a 2D scene.

2)add gamepad left stick axis down to 'ui_down' & gamepad left stick axis up to 'ui_up' in Input under project settings

3)Try to navigate the controls using the left axis

4)Note you cannot focus like normal (like the way D-Pad works OK)

Minimal reproduction project

Small sample project: https://ufile.io/uqvtj8wq
Bugsquad edit: Re-uploaded to GitHub: GamepadFocusBug3_4.zip

Open project, run scene.

Click the first checkbox control with mouse.
Now try to use left stick axis on gamepad to navigate up and down the controls. Its impossible!

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions