dolphin/Source/Android
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
..
app Android: Rework input device hotplug 2026-02-08 10:38:43 +01:00
benchmark Android: Use compilerOptions block to specify JVM version 2026-01-01 13:43:38 +01:00
gradle/wrapper Android: Update Gradle Wrapper 2025-11-12 08:13:30 -05:00
jni Merge pull request #13594 from jordan-woyak/state-cleanups 2026-02-03 16:50:52 -06:00
.gitignore android: Regenerate baseline profile module for AGP 8.2.0 2023-12-09 15:44:29 -05:00
build.gradle.kts Android: Update dependencies 2025-11-11 16:48:12 -05:00
code-style-java.xml
gradle.properties Android: Fix Gradle deprecation 2024-05-25 22:13:25 -04:00
gradlew Android: Update Gradle Wrapper 2025-11-12 08:13:30 -05:00
gradlew.bat Android: Update Gradle Wrapper 2025-11-12 08:13:30 -05:00
settings.gradle.kts android: Regenerate baseline profile module for AGP 8.2.0 2023-12-09 15:44:29 -05:00