Only build raw input support on Windows

This commit is contained in:
Sam Lantinga
2020-03-20 19:42:59 -07:00
parent b6eb09ff13
commit c63bb51245
3 changed files with 4 additions and 3 deletions

5
configure vendored
View File

@@ -24336,8 +24336,6 @@ fi
$as_echo "#define SDL_JOYSTICK_HIDAPI 1" >>confdefs.h
$as_echo "#define SDL_JOYSTICK_RAWINPUT 1" >>confdefs.h
EXTRA_CFLAGS="$EXTRA_CFLAGS -I$srcdir/src/hidapi/hidapi"
SOURCES="$SOURCES $srcdir/src/joystick/hidapi/*.c"
SOURCES="$SOURCES $srcdir/src/hidapi/SDL_hidapi.c"
@@ -24889,6 +24887,9 @@ $as_echo "#define SDL_JOYSTICK_DINPUT 1" >>confdefs.h
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldinput8 -ldxguid -ldxerr8"
fi
$as_echo "#define SDL_JOYSTICK_RAWINPUT 1" >>confdefs.h
else
$as_echo "#define SDL_JOYSTICK_WINMM 1" >>confdefs.h