Skip to content

Commit

Permalink
Port libusb hid.c to SDL, add to MinGW configure
Browse files Browse the repository at this point in the history
  • Loading branch information
flibitijibibo committed Aug 4, 2019
1 parent aebaa31 commit aa09e61
Show file tree
Hide file tree
Showing 3 changed files with 101 additions and 156 deletions.
4 changes: 0 additions & 4 deletions configure
Expand Up @@ -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
Expand Down
4 changes: 0 additions & 4 deletions configure.ac
Expand Up @@ -3205,10 +3205,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
Expand Down

0 comments on commit aa09e61

Please sign in to comment.