Make AOA open and close asynchronous
For AOA keyboard and mouse, only input reports were asynchronous. Register/unregister were called from the main thread. This had the benefit to fail immediately if the AOA registration failed, but we want to open/close AOA devices dynamically in order to add gamepad support. PR #5270 <https://github.com/Genymobile/scrcpy/pull/5270>
R
Romain Vimont committed
6e9b0d7d4c4d386c84e8a3a40e442a45d1666e24
Parent: 3e9c89c