Stopping Input Propagation with _GuiInput

Godot Version

4.3.stable.mono

Question

Hello folks, I am trying to capture input when the UI is open so that it wont propagate. I want to capture a JoypadButton input. The only inputs I see that trigger _GuiInput are mouse events. I’m confused about how to handle this situation. If I capture the input by overriding _Input it will capture the input correctly, but it will never apply it to the Control. Anyone have any ways of capturing inputs when the UI is open?

I looks like every Control node has to have its _GuiInput() method overridden. Is there a way to do this that doesn’t involve pasting the override code in every control?