From dbba433b69985c1629aeb9cbb0ddf85efdada7e0 Mon Sep 17 00:00:00 2001 From: Andreas Haas Date: Thu, 25 May 2017 22:58:37 +0200 Subject: Fix echo key event handling. --- main/input_default.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main') diff --git a/main/input_default.cpp b/main/input_default.cpp index 2cce62ab51..9e11a595dc 100644 --- a/main/input_default.cpp +++ b/main/input_default.cpp @@ -302,7 +302,7 @@ void InputDefault::parse_input_event(const Ref &p_event) { _THREAD_SAFE_METHOD_ Ref k = p_event; - if (k.is_valid() && k->is_echo() && k->get_scancode() != 0) { + if (k.is_valid() && !k->is_echo() && k->get_scancode() != 0) { //print_line(p_event); -- cgit v1.2.3