mirror of https://github.com/encounter/SDL.git
Backed out changeset c5bb2de42684
This commit is contained in:
parent
2db65a7fe7
commit
74ba3cb45b
|
@ -24336,6 +24336,8 @@ fi
|
||||||
|
|
||||||
$as_echo "#define SDL_JOYSTICK_HIDAPI 1" >>confdefs.h
|
$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"
|
EXTRA_CFLAGS="$EXTRA_CFLAGS -I$srcdir/src/hidapi/hidapi"
|
||||||
SOURCES="$SOURCES $srcdir/src/joystick/hidapi/*.c"
|
SOURCES="$SOURCES $srcdir/src/joystick/hidapi/*.c"
|
||||||
SOURCES="$SOURCES $srcdir/src/hidapi/SDL_hidapi.c"
|
SOURCES="$SOURCES $srcdir/src/hidapi/SDL_hidapi.c"
|
||||||
|
@ -24887,9 +24889,6 @@ $as_echo "#define SDL_JOYSTICK_DINPUT 1" >>confdefs.h
|
||||||
|
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldinput8 -ldxguid -ldxerr8"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldinput8 -ldxguid -ldxerr8"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
$as_echo "#define SDL_JOYSTICK_RAWINPUT 1" >>confdefs.h
|
|
||||||
|
|
||||||
else
|
else
|
||||||
|
|
||||||
$as_echo "#define SDL_JOYSTICK_WINMM 1" >>confdefs.h
|
$as_echo "#define SDL_JOYSTICK_WINMM 1" >>confdefs.h
|
||||||
|
|
|
@ -3316,6 +3316,7 @@ AS_HELP_STRING([--enable-hidapi], [use HIDAPI for low level joystick drivers [[d
|
||||||
|
|
||||||
if test x$hidapi_support = xyes; then
|
if test x$hidapi_support = xyes; then
|
||||||
AC_DEFINE(SDL_JOYSTICK_HIDAPI, 1, [ ])
|
AC_DEFINE(SDL_JOYSTICK_HIDAPI, 1, [ ])
|
||||||
|
AC_DEFINE(SDL_JOYSTICK_RAWINPUT, 1, [ ])
|
||||||
EXTRA_CFLAGS="$EXTRA_CFLAGS -I$srcdir/src/hidapi/hidapi"
|
EXTRA_CFLAGS="$EXTRA_CFLAGS -I$srcdir/src/hidapi/hidapi"
|
||||||
SOURCES="$SOURCES $srcdir/src/joystick/hidapi/*.c"
|
SOURCES="$SOURCES $srcdir/src/joystick/hidapi/*.c"
|
||||||
SOURCES="$SOURCES $srcdir/src/hidapi/SDL_hidapi.c"
|
SOURCES="$SOURCES $srcdir/src/hidapi/SDL_hidapi.c"
|
||||||
|
@ -3713,7 +3714,6 @@ AS_HELP_STRING([--enable-render-d3d], [enable the Direct3D render driver [[defau
|
||||||
AC_DEFINE(SDL_JOYSTICK_DINPUT, 1, [ ])
|
AC_DEFINE(SDL_JOYSTICK_DINPUT, 1, [ ])
|
||||||
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldinput8 -ldxguid -ldxerr8"
|
EXTRA_LDFLAGS="$EXTRA_LDFLAGS -ldinput8 -ldxguid -ldxerr8"
|
||||||
fi
|
fi
|
||||||
AC_DEFINE(SDL_JOYSTICK_RAWINPUT, 1, [ ])
|
|
||||||
else
|
else
|
||||||
AC_DEFINE(SDL_JOYSTICK_WINMM, 1, [ ])
|
AC_DEFINE(SDL_JOYSTICK_WINMM, 1, [ ])
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue