]> git.mxchange.org Git - flightgear.git/commitdiff
Removed #ifdef FG_PLIB_JOYSTICK_GETNAME -- it's in 1.6, so we can rely
authordavid <david>
Sat, 11 Jan 2003 16:27:56 +0000 (16:27 +0000)
committerdavid <david>
Sat, 11 Jan 2003 16:27:56 +0000 (16:27 +0000)
on it.

src/Input/input.cxx

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