1
0
Fork 0

Removed #ifdef FG_PLIB_JOYSTICK_GETNAME -- it's in 1.6, so we can rely

on it.
This commit is contained in:
david 2003-01-11 16:27:56 +00:00
parent f918bdcc0c
commit 5424c65f00

View file

@ -488,7 +488,6 @@ FGInput::_init_joystick ()
SG_LOG(SG_INPUT, SG_WARN, "Joystick " << i << " not found"); SG_LOG(SG_INPUT, SG_WARN, "Joystick " << i << " not found");
continue; continue;
} else { } else {
#ifdef FG_PLIB_JOYSTICK_GETNAME
bool found_js = false; bool found_js = false;
const char * name = js->getName(); const char * name = js->getName();
SG_LOG(SG_INPUT, SG_INFO, "Looking for bindings for joystick \"" SG_LOG(SG_INPUT, SG_INFO, "Looking for bindings for joystick \""
@ -510,7 +509,6 @@ FGInput::_init_joystick ()
if (found_js) if (found_js)
break; break;
} }
#endif
} }
#ifdef WIN32 #ifdef WIN32
JOYCAPS jsCaps ; JOYCAPS jsCaps ;