summaryrefslogtreecommitdiff
path: root/src/android/app
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/android/app
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/android/app')
-rw-r--r--src/android/app/src/main/jni/native.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/android/app/src/main/jni/native.cpp b/src/android/app/src/main/jni/native.cpp
index 136c8dee6..e436622e0 100644
--- a/src/android/app/src/main/jni/native.cpp
+++ b/src/android/app/src/main/jni/native.cpp
@@ -410,8 +410,8 @@ void EmulationSession::OnGamepadConnectEvent([[maybe_unused]] int index) {
410 jauto handheld = m_system.HIDCore().GetEmulatedController(Core::HID::NpadIdType::Handheld); 410 jauto handheld = m_system.HIDCore().GetEmulatedController(Core::HID::NpadIdType::Handheld);
411 411
412 if (controller->GetNpadStyleIndex() == Core::HID::NpadStyleIndex::Handheld) { 412 if (controller->GetNpadStyleIndex() == Core::HID::NpadStyleIndex::Handheld) {
413 handheld->SetNpadStyleIndex(Core::HID::NpadStyleIndex::ProController); 413 handheld->SetNpadStyleIndex(Core::HID::NpadStyleIndex::Fullkey);
414 controller->SetNpadStyleIndex(Core::HID::NpadStyleIndex::ProController); 414 controller->SetNpadStyleIndex(Core::HID::NpadStyleIndex::Fullkey);
415 handheld->Disconnect(); 415 handheld->Disconnect();
416 } 416 }
417 } 417 }