scrcpy/app/src/usb
Romain Vimont 1a03206e36 Detect USB device disconnection
The device disconnection is detected when the video socket closes.

In order to introduce an OTG mode (HID events) without mirroring (and
without server), we must be able to detect USB device disconnection.

This feature will only be used in OTG mode.

PR #2974 <https://github.com/Genymobile/scrcpy/pull/2974>
2022-01-27 23:36:18 +01:00
..
aoa_hid.c Make acksync optional for AOA initialization 2022-01-27 23:36:16 +01:00
aoa_hid.h Move sc_usb out of sc_aoa 2022-01-27 23:35:59 +01:00
hid_keyboard.c Move AOA/HID code to usb/ 2022-01-27 23:35:34 +01:00
hid_keyboard.h Move AOA/HID code to usb/ 2022-01-27 23:35:34 +01:00
hid_mouse.c Move AOA/HID code to usb/ 2022-01-27 23:35:34 +01:00
hid_mouse.h Move AOA/HID code to usb/ 2022-01-27 23:35:34 +01:00
usb.c Detect USB device disconnection 2022-01-27 23:36:18 +01:00
usb.h Detect USB device disconnection 2022-01-27 23:36:18 +01:00