This will allow to execute other USB calls (retrieving the device list for example) before connecting to the selected device. PR #2974 <https://github.com/Genymobile/scrcpy/pull/2974>
It is possible to retrieve the device instance from the handle via libusb_get_device(), so we don't need to reference the device one more time. PR #2974 <https://github.com/Genymobile/scrcpy/pull/2974>
The AOA code handled both USB initialization and AOA commands/events. Extract USB-related code to a separate file and structure. PR #2974 <https://github.com/Genymobile/scrcpy/pull/2974>