diff --git a/src/duckstation-qt/qtdisplaywindow.cpp b/src/duckstation-qt/qtdisplaywindow.cpp index d7a72f0c8..c3a96aa7b 100644 --- a/src/duckstation-qt/qtdisplaywindow.cpp +++ b/src/duckstation-qt/qtdisplaywindow.cpp @@ -72,11 +72,17 @@ void QtDisplayWindow::onWindowResized(int width, int height) void QtDisplayWindow::keyPressEvent(QKeyEvent* event) { + if (event->isAutoRepeat()) + return; + m_host_interface->handleKeyEvent(event->key(), true); } void QtDisplayWindow::keyReleaseEvent(QKeyEvent* event) { + if (event->isAutoRepeat()) + return; + m_host_interface->handleKeyEvent(event->key(), false); }