usbd: Implement libusb passthrough (#2271)

* usbd: Implement libusb passthrough

* clang-format

* only do kernel activities on non-windows

* use variable to represent "fake" windows kernel driver

---------

Co-authored-by: georgemoralis <giorgosmrls@gmail.com>
This commit is contained in:
Joshua de Reeper 2025-03-31 17:55:21 +02:00 committed by GitHub
parent b0a12c02e1
commit 7533206d89
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 475 additions and 247 deletions

3
.gitmodules vendored
View file

@ -107,3 +107,6 @@
path = externals/MoltenVK/cereal
url = https://github.com/USCiLab/cereal
shallow = true
[submodule "externals/libusb"]
path = externals/libusb
url = https://github.com/libusb/libusb-cmake.git