1
0
Fork 0

Use PLIB joystick routines for windows and linux.

This commit is contained in:
curt 1999-05-27 00:21:54 +00:00
parent 1663d1628f
commit cdbc9a9a5f
2 changed files with 3 additions and 3 deletions

View file

@ -479,7 +479,7 @@ static void fgMainLoop( void ) {
FG_LOG( FG_ALL, FG_DEBUG, "Running Main Loop"); FG_LOG( FG_ALL, FG_DEBUG, "Running Main Loop");
FG_LOG( FG_ALL, FG_DEBUG, "======= ==== ===="); FG_LOG( FG_ALL, FG_DEBUG, "======= ==== ====");
#if defined( ENABLE_LINUX_JOYSTICK ) #if defined( ENABLE_PLIB_JOYSTICK )
// Read joystick and update control settings // Read joystick and update control settings
fgJoystickRead(); fgJoystickRead();
#elif defined( ENABLE_GLUT_JOYSTICK ) #elif defined( ENABLE_GLUT_JOYSTICK )

View file

@ -11,8 +11,8 @@ if ENABLE_WIN32_AUDIO
LIBS += -lwinmm LIBS += -lwinmm
endif endif
if ENABLE_LINUX_JOYSTICK if ENABLE_PLIB_JOYSTICK
DEFS += -DENABLE_LINUX_JOYSTICK DEFS += -DENABLE_PLIB_JOYSTICK
else else
DEFS += -DENABLE_GLUT_JOYSTICK DEFS += -DENABLE_GLUT_JOYSTICK
endif endif