dolphin/Source/Core/InputCommon
JosJuice bd92388d2f Android: Rework input device hotplug
Previously, when an input device was connected or disconnected, we would
recreate all devices. This commit makes it so we only touch the relevant
device instead. This matters because recreating a device causes us to
drop all held buttons for that device. Due to Android only delivering
inputs as events, we're unable to poll for currently held buttons when
recreating a device.

This recently became a problem for users of Ayn devices due to a
firmware update. Every now and then, something about the display
viewports changes, triggering an update to an input device that I assume
is a touch input device. This input device isn't something users
normally map in Dolphin's controller settings, but it changing was
causing Dolphin to drop all held buttons for the device's built-in
gamepad as well as any other connected gamepads.
2026-02-08 10:38:43 +01:00
..
ControllerEmu Remove unused imports 2026-01-25 16:12:15 +01:00
ControllerInterface Android: Rework input device hotplug 2026-02-08 10:38:43 +01:00
ControlReference Fix various typos and spelling mistakes 2026-01-17 20:11:38 +01: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 Remove unused imports 2026-01-25 16:12:15 +01:00
GCAdapter.h GCAdapter: Calculate poll rate for display in UI. It's currently updated every 50 reads. 2025-11-23 02:06:39 -06:00
GCPadStatus.h Fix all uninitialized variable warnings (C26495) 2021-10-13 12:32:16 -07: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 InputConfig: Remove unused local variables 2026-01-26 11:36:42 -08:00
InputConfig.h InputCommon: Make ControllerInterface RegisterDevicesChangedCallback use Common::HookableEvent. 2025-11-05 17:12:56 -06: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