From 17d7e6a142500a80ba6628a32eca792c44bbbdb7 Mon Sep 17 00:00:00 2001 From: Fabio Alessandrelli Date: Mon, 17 Oct 2016 03:57:32 +0200 Subject: Fix Keyboard Input Hangs when using modifiers Main input parsing loop only update actions for keyboard if the state has changed. `InputMap::event_is_action` now ignores keyboard modifiers if the event is not pressed. Clarify difference between `InputMap::action_has_event` and `InputMap::event_is_action` in docs. Fixes #6388. --- doc/base/classes.xml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/base') diff --git a/doc/base/classes.xml b/doc/base/classes.xml index 4e0ba53f4..a711f591c 100644 --- a/doc/base/classes.xml +++ b/doc/base/classes.xml @@ -18019,7 +18019,7 @@ - Return whether the given event is part of an existing action. + Return whether the given event is part of an existing action. This method ignores keyboard modifiers if the given [InputEvent] is not pressed (for proper release detection). See [method action_has_event] if you don't want this behavior. -- cgit v1.2.3-70-g09d2