Port libusb hid.c to SDL, add to MinGW configure

This commit is contained in:
Ethan Lee
2019-08-04 00:01:38 -04:00
parent aebaa316c7
commit aa09e61223
3 changed files with 100 additions and 155 deletions

4
configure vendored
View File

@@ -24121,10 +24121,6 @@ CheckHIDAPI()
# The hidraw support doesn't catch Xbox, PS4 and Nintendo controllers,
# so we'll just use libusb when it's available.
case "$host" in
# TODO: Windows can support libusb, the hid.c file just depends on Unix APIs
*-*-cygwin* | *-*-mingw32* )
skiplibusb=yes
;;
# libusb does not support iOS
arm*-apple-darwin* | *-ios-* )
skiplibusb=yes