Removed #ifdef FG_PLIB_JOYSTICK_GETNAME -- it's in 1.6, so we can rely
on it.
This commit is contained in:
parent
f918bdcc0c
commit
5424c65f00
1 changed files with 0 additions and 2 deletions
|
@ -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 ;
|
||||||
|
|
Loading…
Add table
Reference in a new issue