summaryrefslogtreecommitdiff
path: root/src/android
diff options
context:
space:
mode:
authorliamwhite <liamwhite@users.noreply.github.com>2024-01-12 10:02:13 -0500
committerGitHub <noreply@github.com>2024-01-12 10:02:13 -0500
commitf7a3c135e2f17cc00d1f006146afc73a21408e3a (patch)
treef5439b576b7ba8e2d6835b49d45a558c66121ae7 /src/android
parentfcb0dff67ce18bde935fa1d79f653ae418dced8d (diff)
parentb5dac5f525e8d5884506ebd98a530e237b518480 (diff)
Merge pull request #12605 from german77/abstract
service: hid: Create abstracted pad structure
Diffstat (limited to 'src/android')
-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();
}
}