Mercurial > sdl-ios-xcode
comparison configure.in @ 1854:2280e314a978
Closed bug #74
Added DirectInput joystick code, contributed by Glenn Maynard.
This fixes a problem with the Windows Multimedia joystick driver
not showing all 6 axes on a GameCube controller converter, which
was donated by Jacob Kolding.
author | Sam Lantinga <slouken@libsdl.org> |
---|---|
date | Sun, 21 May 2006 16:47:41 +0000 |
parents | 703f7268b5b1 |
children | 5ff2c01e475e |
comparison
equal
deleted
inserted
replaced
1853:2c4923336dd0 | 1854:2280e314a978 |
---|---|
2268 fi | 2268 fi |
2269 have_audio=yes | 2269 have_audio=yes |
2270 fi | 2270 fi |
2271 # Set up files for the joystick library | 2271 # Set up files for the joystick library |
2272 if test x$enable_joystick = xyes; then | 2272 if test x$enable_joystick = xyes; then |
2273 AC_DEFINE(SDL_JOYSTICK_WINMM) | 2273 if test x$have_directx = xyes; then |
2274 SOURCES="$SOURCES $srcdir/src/joystick/win32/*.c" | 2274 AC_DEFINE(SDL_JOYSTICK_DINPUT) |
2275 SOURCES="$SOURCES $srcdir/src/joystick/win32/SDL_dxjoystick.c" | |
2276 else | |
2277 AC_DEFINE(SDL_JOYSTICK_WINMM) | |
2278 SOURCES="$SOURCES $srcdir/src/joystick/win32/SDL_mmjoystick.c" | |
2279 fi | |
2275 have_joystick=yes | 2280 have_joystick=yes |
2276 fi | 2281 fi |
2277 # Set up files for the cdrom library | 2282 # Set up files for the cdrom library |
2278 if test x$enable_cdrom = xyes; then | 2283 if test x$enable_cdrom = xyes; then |
2279 AC_DEFINE(SDL_CDROM_WIN32) | 2284 AC_DEFINE(SDL_CDROM_WIN32) |