dolphin/Source/Core/InputCommon
JosJuice 64a73e5636 Android: Fix mixup between Vibrator id and index
This fixes https://bugs.dolphin-emu.org/issues/14076. The issue report
more or less already says it all, but to provide a shorter summary:
We were fetching a list of vibrator IDs, but instead of passing the
vibrator ID to the vibrator manager, we passed the index of the ID in
the list. This happened to work fine on many devices, including all
devices that use DolphinVibratorManagerCompat, due to the only Vibrator
having both an index and ID of 0. But on some devices, it failed due to
the ID of the Vibrator being 1.

This fix makes us correctly pass the ID to the vibrator manager. We
still use indices in controller INI files, both for compatibility with
the controller mappings shipped with Dolphin (which use index 0) and for
backwards compatibility with older controller INI files.
2026-06-26 22:10:16 +02:00
..
ControllerEmu Improve usage of std::move and const references parameters 2026-04-17 12:39:46 +02:00
ControllerInterface Android: Fix mixup between Vibrator id and index 2026-06-26 22:10:16 +02:00
ControlReference Improve usage of std::move and const references parameters 2026-04-17 12:39:46 +02:00
DynamicInputTextures Remove unused imports 2026-01-25 16:12:15 +01:00
CMakeLists.txt InputCommon: Update to use SDL3 and bump the SDL submodule in Externals to release-3.2.16. 2025-06-07 16:27:54 -05:00
DynamicInputTextureManager.cpp Clean includes 2026-01-24 16:50:10 +01:00
DynamicInputTextureManager.h Common/IniFile: Move interface into Common namespace 2023-04-13 10:19:28 -04:00
GCAdapter.cpp GCAdapter: Fix data races 2026-04-25 11:16:10 -07:00
GCAdapter.h GCAdapter: Automatically start and stop thread 2026-04-18 19:40:25 +02:00
GCPadStatus.h Send neutral stick positions when disconnected rather than down-left 2026-02-25 23:06:50 +01:00
ImageOperations.cpp DITConfiguration: Prevent a crash if images fail to load 2025-11-29 23:54:48 +01:00
ImageOperations.h C++20: Synthesize operator!= From operator== 2024-10-10 20:23:55 -07:00
InputConfig.cpp Improve usage of std::move and const references parameters 2026-04-17 12:39:46 +02:00
InputConfig.h Improve usage of std::move and const references parameters 2026-04-17 12:39:46 +02:00
InputProfile.cpp Clean includes 2026-01-24 16:50:10 +01:00
InputProfile.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00
KeyboardStatus.h treewide: convert GPLv2+ license info to SPDX tags 2021-07-05 04:35:56 +02:00