From d69c6e1c5c4b8bbee25cd1f86b8ab65581f26706 Mon Sep 17 00:00:00 2001 From: Jean-Philip Desjardins Date: Tue, 27 Nov 2018 13:24:44 -0500 Subject: [PATCH] Filter out auto repeat key events. --- Source/ui_unix/ControllerConfig/inputeventselectiondialog.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/Source/ui_unix/ControllerConfig/inputeventselectiondialog.cpp b/Source/ui_unix/ControllerConfig/inputeventselectiondialog.cpp index 84a85298..0b15fe9b 100644 --- a/Source/ui_unix/ControllerConfig/inputeventselectiondialog.cpp +++ b/Source/ui_unix/ControllerConfig/inputeventselectiondialog.cpp @@ -185,6 +185,7 @@ void InputEventSelectionDialog::keyPressEvent(QKeyEvent* ev) void InputEventSelectionDialog::keyReleaseEvent(QKeyEvent* ev) { + if(ev->isAutoRepeat()) return; m_qtKeyInputProvider->OnKeyRelease(ev->key()); }