Skip to content
Permalink
Browse files

Added support for joysticks on *BSD (thanks Wilbern!)

  • Loading branch information
slouken committed Feb 14, 2002
1 parent e5ed4d5 commit 69401d07b6b31e02478b0eea64054a0df62ce1bd
Showing with 404 additions and 10 deletions.
  1. +6 −9 configure.in
  2. +1 −0 docs.html
  3. +1 −1 src/joystick/Makefile.am
  4. +8 −0 src/joystick/bsd/Makefile.am
  5. +388 −0 src/joystick/bsd/SDL_sysjoystick.c
@@ -1452,10 +1452,9 @@ case "$target" in
# AUDIO_DRIVERS="$AUDIO_DRIVERS sun/libaudio_sun.la"
#fi
# Set up files for the joystick library
# (No joystick support yet)
if test x$enable_joystick = xyes; then
JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS dummy"
JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS dummy/libjoystick_dummy.la"
JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS bsd"
JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS bsd/libjoystick_bsd.la"
fi
# Set up files for the cdrom library
if test x$enable_cdrom = xyes; then
@@ -1504,10 +1503,9 @@ case "$target" in
AUDIO_DRIVERS="$AUDIO_DRIVERS sun/libaudio_sun.la"
fi
# Set up files for the joystick library
# (No joystick support yet)
if test x$enable_joystick = xyes; then
JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS dummy"
JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS dummy/libjoystick_dummy.la"
JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS bsd"
JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS bsd/libjoystick_bsd.la"
fi
# Set up files for the cdrom library
if test x$enable_cdrom = xyes; then
@@ -1564,10 +1562,9 @@ case "$target" in
SYSTEM_LIBS="$SYSTEM_LIBS -lossaudio"
fi
# Set up files for the joystick library
# (No joystick support yet)
if test x$enable_joystick = xyes; then
JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS dummy"
JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS dummy/libjoystick_dummy.la"
JOYSTICK_SUBDIRS="$JOYSTICK_SUBDIRS bsd"
JOYSTICK_DRIVERS="$JOYSTICK_DRIVERS bsd/libjoystick_bsd.la"
fi
# Set up files for the cdrom library
if test x$enable_cdrom = xyes; then
@@ -16,6 +16,7 @@ <H2>
Major changes since SDL 1.0.0:
</H2>
<UL>
<LI> 1.2.4: Added support for joysticks on *BSD (thanks Wilbern!)
<LI> 1.2.4: Added a YUV overlay test program (thanks Jon!)
<LI> 1.2.4: Added support for building SDL for EPOC/SymbianOS 6.0
<LI> 1.2.4: Added support for Xi Graphics XME fullscreen extension
@@ -5,7 +5,7 @@ noinst_LTLIBRARIES = libjoystick.la

# Define which subdirectories need to be built
SUBDIRS = @JOYSTICK_SUBDIRS@
DIST_SUBDIRS = dummy amigaos beos darwin linux macos win32
DIST_SUBDIRS = dummy amigaos beos bsd darwin linux macos win32

DRIVERS = @JOYSTICK_DRIVERS@

@@ -0,0 +1,8 @@

## Makefile.am for the BSD joystick driver for SDL

noinst_LTLIBRARIES = libjoystick_bsd.la
libjoystick_bsd_la_SOURCES = $(SRCS)

# The SDL joystick driver sources
SRCS = SDL_sysjoystick.c

0 comments on commit 69401d0

Please sign in to comment.