Extract USB handling from AOA

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>
This commit is contained in:
Romain Vimont
2022-01-24 22:56:12 +01:00
parent d48d191262
commit 1d6f9952ee
5 changed files with 143 additions and 95 deletions

View File

@@ -78,6 +78,7 @@ if usb_support
'src/usb/aoa_hid.c',
'src/usb/hid_keyboard.c',
'src/usb/hid_mouse.c',
'src/usb/usb.c',
]
endif