Skip to content

Commit

Permalink
Fixed bug 5335 - enable joystick/haptic/evdev support by default on F…
Browse files Browse the repository at this point in the history
…reeBSD

Alex S

...which allows SDL to talk to webcamd/iichid. (Webcamd actually bundles quite a few gamepad drivers.) Note that this does _not_ disable usbhid, both joystick backends will be compiled.
  • Loading branch information
slouken committed Nov 12, 2020
1 parent 320a758 commit 38ed8a9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions configure
Expand Up @@ -24735,7 +24735,7 @@ $as_echo "#define SDL_AUDIO_DRIVER_ANDROID 1" >>confdefs.h
# Set up files for the joystick library
if test x$enable_joystick = xyes; then
case $ARCH in
linux)
linux|freebsd)

$as_echo "#define SDL_JOYSTICK_LINUX 1" >>confdefs.h

Expand All @@ -24756,7 +24756,7 @@ $as_echo "#define SDL_JOYSTICK_ANDROID 1" >>confdefs.h
# Set up files for the haptic library
if test x$enable_haptic = xyes; then
case $ARCH in
linux)
linux|freebsd)
if test x$use_input_events = xyes; then

$as_echo "#define SDL_HAPTIC_LINUX 1" >>confdefs.h
Expand Down
4 changes: 2 additions & 2 deletions configure.ac
Expand Up @@ -3575,7 +3575,7 @@ case "$host" in
# Set up files for the joystick library
if test x$enable_joystick = xyes; then
case $ARCH in
linux)
linux|freebsd)
AC_DEFINE(SDL_JOYSTICK_LINUX, 1, [ ])
SOURCES="$SOURCES $srcdir/src/joystick/linux/*.c"
SOURCES="$SOURCES $srcdir/src/joystick/steam/*.c"
Expand All @@ -3592,7 +3592,7 @@ case "$host" in
# Set up files for the haptic library
if test x$enable_haptic = xyes; then
case $ARCH in
linux)
linux|freebsd)
if test x$use_input_events = xyes; then
AC_DEFINE(SDL_HAPTIC_LINUX, 1, [ ])
SOURCES="$SOURCES $srcdir/src/haptic/linux/*.c"
Expand Down

0 comments on commit 38ed8a9

Please sign in to comment.