From: ehofman Date: Tue, 16 Sep 2003 08:25:16 +0000 (+0000) Subject: Make sure the joystick name gets printed X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=a5bd13214373aedde5aeda6c925f721367869f7a;p=flightgear.git Make sure the joystick name gets printed --- diff --git a/src/Input/js_demo.cxx b/src/Input/js_demo.cxx index cdce31427..cb592a573 100644 --- a/src/Input/js_demo.cxx +++ b/src/Input/js_demo.cxx @@ -28,9 +28,7 @@ int main ( int, char ** ) { useful[i] = ! ( js[i]->notWorking () ); if ( useful[i] ) { t++; -#ifdef FG_PLIB_JOYSTICK_GETNAME printf ( "Joystick %i: \"%s\"\n", i, js[i]->getName() ) ; -#endif } else printf ( "Joystick %i not detected\n", i ) ; } if ( t == 0 ) exit ( 1 ) ;