summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorph <39850852+Morph1984@users.noreply.github.com>2021-11-29 13:25:36 +0100
committerGitHub <noreply@github.com>2021-11-29 13:25:36 +0100
commit614702488fc5ceb965d51b64091e249ffb892e6a (patch)
tree433efe0f7414aaa09d19006b3c0cd500fa8e0328
parentMerge pull request #7396 from FernandoS27/blit-this-mf (diff)
parentqt_controller: Fix input when the controller applet is ignored (diff)
downloadyuzu-614702488fc5ceb965d51b64091e249ffb892e6a.tar
yuzu-614702488fc5ceb965d51b64091e249ffb892e6a.tar.gz
yuzu-614702488fc5ceb965d51b64091e249ffb892e6a.tar.bz2
yuzu-614702488fc5ceb965d51b64091e249ffb892e6a.tar.lz
yuzu-614702488fc5ceb965d51b64091e249ffb892e6a.tar.xz
yuzu-614702488fc5ceb965d51b64091e249ffb892e6a.tar.zst
yuzu-614702488fc5ceb965d51b64091e249ffb892e6a.zip
-rw-r--r--src/yuzu/applets/qt_controller.cpp3
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;
}