From 64093528cd016ceace9f69e24879115facb61265 Mon Sep 17 00:00:00 2001 From: Chronos-W <35936541+Chronos-W@users.noreply.github.com> Date: Mon, 25 Mar 2024 19:38:33 -0600 Subject: [PATCH] Add reference to InputEventJoypadButton in _shortcut_input doc (cherry picked from commit 9a439b246a875e50fe5e911182e935945f2990cb) --- doc/classes/Node.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/doc/classes/Node.xml b/doc/classes/Node.xml index 888c9e721b2..0a18af4cc8d 100644 --- a/doc/classes/Node.xml +++ b/doc/classes/Node.xml @@ -100,7 +100,7 @@ - Called when an [InputEventKey] or [InputEventShortcut] hasn't been consumed by [method _input] or any GUI [Control] item. The input event propagates up through the node tree until a node consumes it. + Called when an [InputEventKey]ΒΈ [InputEventShortcut], or [InputEventJoypadButton] hasn't been consumed by [method _input] or any GUI [Control] item. The input event propagates up through the node tree until a node consumes it. It is only called if shortcut processing is enabled, which is done automatically if this method is overridden, and can be toggled with [method set_process_shortcut_input]. To consume the input event and stop it propagating further to other nodes, [method Viewport.set_input_as_handled] can be called. This method can be used to handle shortcuts.