X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Ffg_input_devices.c;h=c89076f1163471e0be274a1e2ab46b1ec54a4267;hb=207c3128bf025b5e025bace5c0425d380dd72aa9;hp=1c7ba29b3359d7061ad48a07a4e8af7b42b9b7b1;hpb=0e653a9d94fec583f7a4172b721c1c599e06cbc8;p=freeglut diff --git a/src/fg_input_devices.c b/src/fg_input_devices.c index 1c7ba29..c89076f 100644 --- a/src/fg_input_devices.c +++ b/src/fg_input_devices.c @@ -1,5 +1,5 @@ /* - * freeglut_input_devices.c + * fg_input_devices.c * * Handles miscellaneous input devices via direct serial-port access. * Proper X11 XInput device support is not yet supported. @@ -28,10 +28,6 @@ * DEALINGS IN THE SOFTWARE. */ -#ifdef HAVE_CONFIG_H -# include "config.h" -#endif - #include #include "fg_internal.h" @@ -115,7 +111,7 @@ void fgInitialiseInputDevices ( void ) { const char *dial_device=NULL; dial_device = getenv ( "GLUT_DIALS_SERIAL" ); - fgPlatformRegisterDialDevice ( dial_device ); + fgPlatformRegisterDialDevice ( dial_device ); if ( !dial_device ) return; if ( !( dialbox_port = serial_open ( dial_device ) ) ) return;