UI Button pressed twice with keyboard and mouse inputs

:information_source: Attention Topic was automatically imported from the old Question2Answer platform.
:bust_in_silhouette: Asked By mirageowl

Since clicking a button selects it, if you hold down a button and press the keyboard mappings for “ui_accept” the pressed signal is emitted twice. Is there a way to handle this without handling the ui input in the _input method myself?

As an update: I have solved the issue this creates for my project, but I’m not sure if this is intended behaviour which is why I’m asking

mirageowl | 2021-04-05 15:26