summaryrefslogtreecommitdiffstats
path: root/src/android/app/src/main/jni/native.cpp
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2024-01-12 16:02:13 +0100
committerGitHub <noreply@github.com>2024-01-12 16:02:13 +0100
commitf7a3c135e2f17cc00d1f006146afc73a21408e3a (patch)
treef5439b576b7ba8e2d6835b49d45a558c66121ae7 /src/android/app/src/main/jni/native.cpp
parentMerge pull request #12642 from t895/adapter-refactor (diff)
parentservice: hid: Create abstracted pad structure (diff)
downloadyuzu-f7a3c135e2f17cc00d1f006146afc73a21408e3a.tar
yuzu-f7a3c135e2f17cc00d1f006146afc73a21408e3a.tar.gz
yuzu-f7a3c135e2f17cc00d1f006146afc73a21408e3a.tar.bz2
yuzu-f7a3c135e2f17cc00d1f006146afc73a21408e3a.tar.lz
yuzu-f7a3c135e2f17cc00d1f006146afc73a21408e3a.tar.xz
yuzu-f7a3c135e2f17cc00d1f006146afc73a21408e3a.tar.zst
yuzu-f7a3c135e2f17cc00d1f006146afc73a21408e3a.zip
Diffstat (limited to 'src/android/app/src/main/jni/native.cpp')
-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) {
jauto handheld = m_system.HIDCore().GetEmulatedController(Core::HID::NpadIdType::Handheld);
if (controller->GetNpadStyleIndex() == Core::HID::NpadStyleIndex::Handheld) {
- handheld->SetNpadStyleIndex(Core::HID::NpadStyleIndex::ProController);
- controller->SetNpadStyleIndex(Core::HID::NpadStyleIndex::ProController);
+ handheld->SetNpadStyleIndex(Core::HID::NpadStyleIndex::Fullkey);
+ controller->SetNpadStyleIndex(Core::HID::NpadStyleIndex::Fullkey);
handheld->Disconnect();
}
}