Use PLIB joystick routines for windows and linux.
This commit is contained in:
parent
1663d1628f
commit
cdbc9a9a5f
2 changed files with 3 additions and 3 deletions
|
@ -479,7 +479,7 @@ static void fgMainLoop( void ) {
|
|||
FG_LOG( FG_ALL, FG_DEBUG, "Running Main Loop");
|
||||
FG_LOG( FG_ALL, FG_DEBUG, "======= ==== ====");
|
||||
|
||||
#if defined( ENABLE_LINUX_JOYSTICK )
|
||||
#if defined( ENABLE_PLIB_JOYSTICK )
|
||||
// Read joystick and update control settings
|
||||
fgJoystickRead();
|
||||
#elif defined( ENABLE_GLUT_JOYSTICK )
|
||||
|
|
|
@ -11,8 +11,8 @@ if ENABLE_WIN32_AUDIO
|
|||
LIBS += -lwinmm
|
||||
endif
|
||||
|
||||
if ENABLE_LINUX_JOYSTICK
|
||||
DEFS += -DENABLE_LINUX_JOYSTICK
|
||||
if ENABLE_PLIB_JOYSTICK
|
||||
DEFS += -DENABLE_PLIB_JOYSTICK
|
||||
else
|
||||
DEFS += -DENABLE_GLUT_JOYSTICK
|
||||
endif
|
||||
|
|
Loading…
Add table
Reference in a new issue