diff options
author | Morph <39850852+Morph1984@users.noreply.github.com> | 2021-11-29 07:25:36 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-29 07:25:36 -0500 |
commit | 614702488fc5ceb965d51b64091e249ffb892e6a (patch) | |
tree | 433efe0f7414aaa09d19006b3c0cd500fa8e0328 /src/yuzu/applets/qt_controller.cpp | |
parent | 3031223153d2b11d089acf5c50718372b5c24b6b (diff) | |
parent | dcc468555758531016eec2ba61bbc5dfdc86f6f6 (diff) |
Merge pull request #7465 from german77/no_input
qt_controller: Fix input when the controller applet is ignored
Diffstat (limited to 'src/yuzu/applets/qt_controller.cpp')
-rw-r--r-- | src/yuzu/applets/qt_controller.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
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; } |