diff --git a/Source/Core/DolphinQt/Config/Mapping/MappingCommon.cpp b/Source/Core/DolphinQt/Config/Mapping/MappingCommon.cpp index 6765485c10..6a428f0ab4 100644 --- a/Source/Core/DolphinQt/Config/Mapping/MappingCommon.cpp +++ b/Source/Core/DolphinQt/Config/Mapping/MappingCommon.cpp @@ -88,6 +88,8 @@ QString DetectExpression(QPushButton* button, ciface::Core::DeviceContainer& dev const auto timer = new QTimer(button); + timer->setSingleShot(true); + button->connect(timer, &QTimer::timeout, [button, filter] { button->releaseMouse(); button->releaseKeyboard();