scrcpy/app/src/usb
Romain Vimont 222916eebe Unregister all AOA devices automatically on exit
Pushing a close event from the keyboard_aoa or mouse_aoa implementation
was racy, because the AOA thread might be stopped before these events
were processed.

Instead, keep the list of open AOA devices to close them automatically
from the AOA thread before exiting.

PR #5270 <https://github.com/Genymobile/scrcpy/pull/5270>
2024-09-15 11:21:56 +02:00
..
aoa_hid.c Unregister all AOA devices automatically on exit 2024-09-15 11:21:56 +02:00
aoa_hid.h Introduce hid_open and hid_close events 2024-09-15 11:21:56 +02:00
keyboard_aoa.c Unregister all AOA devices automatically on exit 2024-09-15 11:21:56 +02:00
keyboard_aoa.h Extract keyboard HID handling 2024-03-01 00:51:37 +01:00
mouse_aoa.c Unregister all AOA devices automatically on exit 2024-09-15 11:21:56 +02:00
mouse_aoa.h Extract mouse HID handling 2024-03-01 00:51:39 +01:00
scrcpy_otg.c Extract sc_push_event() 2024-09-14 21:24:15 +02:00
scrcpy_otg.h Add specific exit code for device disconnection 2022-03-06 22:19:46 +01:00
screen_otg.c Track mouse buttons state manually 2024-07-11 12:04:09 +02:00
screen_otg.h Extract mouse HID handling 2024-03-01 00:51:39 +01:00
usb.c Make sc_usb_devices_destroy() static 2023-10-23 15:39:19 +02:00
usb.h Report USB device disconnection when detected 2022-02-20 17:38:14 +01:00