diff options
| author | 2024-01-12 10:02:13 -0500 | |
|---|---|---|
| committer | 2024-01-12 10:02:13 -0500 | |
| commit | f7a3c135e2f17cc00d1f006146afc73a21408e3a (patch) | |
| tree | f5439b576b7ba8e2d6835b49d45a558c66121ae7 /src/android/app | |
| parent | Merge pull request #12642 from t895/adapter-refactor (diff) | |
| parent | service: hid: Create abstracted pad structure (diff) | |
| download | yuzu-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.cpp | 4 |
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 | } |