mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-02-18 22:37:42 -07:00
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. |
||
|---|---|---|
| .. | ||
| ControllerEmu | ||
| ControllerInterface | ||
| ControlReference | ||
| DynamicInputTextures | ||
| CMakeLists.txt | ||
| DynamicInputTextureManager.cpp | ||
| DynamicInputTextureManager.h | ||
| GCAdapter.cpp | ||
| GCAdapter.h | ||
| GCPadStatus.h | ||
| ImageOperations.cpp | ||
| ImageOperations.h | ||
| InputConfig.cpp | ||
| InputConfig.h | ||
| InputProfile.cpp | ||
| InputProfile.h | ||
| KeyboardStatus.h | ||