summaryrefslogtreecommitdiff
path: root/src/core/frontend/applets/controller.cpp
diff options
context:
space:
mode:
authorGravatar liamwhite2024-01-12 10:02:13 -0500
committerGravatar GitHub2024-01-12 10:02:13 -0500
commitf7a3c135e2f17cc00d1f006146afc73a21408e3a (patch)
treef5439b576b7ba8e2d6835b49d45a558c66121ae7 /src/core/frontend/applets/controller.cpp
parentMerge pull request #12642 from t895/adapter-refactor (diff)
parentservice: hid: Create abstracted pad structure (diff)
downloadyuzu-f7a3c135e2f17cc00d1f006146afc73a21408e3a.tar.gz
yuzu-f7a3c135e2f17cc00d1f006146afc73a21408e3a.tar.xz
yuzu-f7a3c135e2f17cc00d1f006146afc73a21408e3a.zip
Merge pull request #12605 from german77/abstract
service: hid: Create abstracted pad structure
Diffstat (limited to 'src/core/frontend/applets/controller.cpp')
-rw-r--r--src/core/frontend/applets/controller.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/frontend/applets/controller.cpp b/src/core/frontend/applets/controller.cpp
index 34fe23b6a..e04d884ba 100644
--- a/src/core/frontend/applets/controller.cpp
+++ b/src/core/frontend/applets/controller.cpp
@@ -47,7 +47,7 @@ void DefaultControllerApplet::ReconfigureControllers(ReconfigureCallback callbac
47 // Connect controllers based on the following priority list from highest to lowest priority: 47 // Connect controllers based on the following priority list from highest to lowest priority:
48 // Pro Controller -> Dual Joycons -> Left Joycon/Right Joycon -> Handheld 48 // Pro Controller -> Dual Joycons -> Left Joycon/Right Joycon -> Handheld
49 if (parameters.allow_pro_controller) { 49 if (parameters.allow_pro_controller) {
50 controller->SetNpadStyleIndex(Core::HID::NpadStyleIndex::ProController); 50 controller->SetNpadStyleIndex(Core::HID::NpadStyleIndex::Fullkey);
51 controller->Connect(true); 51 controller->Connect(true);
52 } else if (parameters.allow_dual_joycons) { 52 } else if (parameters.allow_dual_joycons) {
53 controller->SetNpadStyleIndex(Core::HID::NpadStyleIndex::JoyconDual); 53 controller->SetNpadStyleIndex(Core::HID::NpadStyleIndex::JoyconDual);