Enable virtual joystick API by default
This commit is contained in:
1 parent
8a5ee3faf9
commit
ef147d2e29
3 files changed
+17
-37
No files matched your search
+2
-3
@@ -3422,8 +3422,8 @@ dnl Set up the Virtual joystick driver.
|
||||
CheckVirtualJoystick()
|
||||
{
|
||||
AC_ARG_ENABLE(joystick-virtual,
|
||||
AS_HELP_STRING([--enable-joystick-virtual], [enable virtual joystick APIs [[default=no]]]),
|
||||
, enable_joystick_virtual=no)
|
||||
AS_HELP_STRING([--enable-joystick-virtual], [enable virtual joystick APIs [[default=yes]]]),
|
||||
, enable_joystick_virtual=yes)
|
||||
if test x$enable_joystick = xyes -a x$enable_joystick_virtual = xyes; then
|
||||
AC_DEFINE(SDL_JOYSTICK_VIRTUAL, 1, [ ])
|
||||
SOURCES="$SOURCES $srcdir/src/joystick/virtual/*.c"
|
||||
@@ -3432,7 +3432,6 @@ AS_HELP_STRING([--enable-joystick-virtual], [enable virtual joystick APIs [[defa
|
||||
}
|
||||
|
||||
|
||||
|
||||
dnl Do this on all platforms, before everything else (other things might want to override it).
|
||||
CheckWarnAll
|
||||
CheckNoStrictAliasing
|
||||
|
||||
Reference in new issue
Block a user