From dcc468555758531016eec2ba61bbc5dfdc86f6f6 Mon Sep 17 00:00:00 2001
From: german77 <juangerman-13@hotmail.com>
Date: Sun, 28 Nov 2021 21:03:42 -0600
Subject: [PATCH] qt_controller: Fix input when the controller applet is
 ignored

---
 src/yuzu/applets/qt_controller.cpp | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/src/yuzu/applets/qt_controller.cpp b/src/yuzu/applets/qt_controller.cpp
index 589e0577a..7e80e7836 100644
--- a/src/yuzu/applets/qt_controller.cpp
+++ b/src/yuzu/applets/qt_controller.cpp
@@ -205,6 +205,9 @@ QtControllerSelectorDialog::QtControllerSelectorDialog(
     // If all the parameters are met AND only allows a single player,
     // stop the constructor here as we do not need to continue.
     if (CheckIfParametersMet() && parameters.enable_single_mode) {
+        for (std::size_t player_index = 0; player_index < NUM_PLAYERS; ++player_index) {
+            system.HIDCore().GetEmulatedControllerByIndex(player_index)->DisableConfiguration();
+        }
         return;
     }