From: John F. Fay Date: Thu, 6 Oct 2005 14:01:56 +0000 (+0000) Subject: Allowing compilation of Windows version by removing DLL decorations from deprecated... X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=commitdiff_plain;h=ce2e5aba172eb85cda2b4f047bdcf9f54d019fd7;p=freeglut Allowing compilation of Windows version by removing DLL decorations from deprecated joystick interface extensions git-svn-id: svn+ssh://svn.code.sf.net/p/freeglut/code/trunk/freeglut/freeglut@689 7f0cb862-5218-0410-a997-914c9d46530a --- diff --git a/include/GL/freeglut_ext.h b/include/GL/freeglut_ext.h index e6ede70..cb72dce 100644 --- a/include/GL/freeglut_ext.h +++ b/include/GL/freeglut_ext.h @@ -128,19 +128,25 @@ FGAPI GLUTproc FGAPIENTRY glutGetProcAddress( const char *procName ); /* * Joystick functions, see freeglut_joystick.c */ -FGAPI int FGAPIENTRY glutJoystickGetNumAxes( int ident ); -FGAPI int FGAPIENTRY glutJoystickGetNumButtons( int ident ); -FGAPI int FGAPIENTRY glutJoystickNotWorking( int ident ); -FGAPI float FGAPIENTRY glutJoystickGetDeadBand( int ident, int axis ); -FGAPI void FGAPIENTRY glutJoystickSetDeadBand( int ident, int axis, float db ); -FGAPI float FGAPIENTRY glutJoystickGetSaturation( int ident, int axis ); -FGAPI void FGAPIENTRY glutJoystickSetSaturation( int ident, int axis, float st ); -FGAPI void FGAPIENTRY glutJoystickSetMinRange( int ident, float *axes ); -FGAPI void FGAPIENTRY glutJoystickSetMaxRange( int ident, float *axes ); -FGAPI void FGAPIENTRY glutJoystickSetCenter( int ident, float *axes ); -FGAPI void FGAPIENTRY glutJoystickGetMinRange( int ident, float *axes ); -FGAPI void FGAPIENTRY glutJoystickGetMaxRange( int ident, float *axes ); -FGAPI void FGAPIENTRY glutJoystickGetCenter( int ident, float *axes ); +/* USE OF THESE FUNCTIONS IS DEPRECATED !!!!! */ +/* If you have a serious need for these functions in your application, please either + * contact the "freeglut" developer community at freeglut-developer@lists.sourceforge.net, + * switch to the OpenGLUT library, or else port your joystick functionality over to PLIB's + * "js" library. + */ +int glutJoystickGetNumAxes( int ident ); +int glutJoystickGetNumButtons( int ident ); +int glutJoystickNotWorking( int ident ); +float glutJoystickGetDeadBand( int ident, int axis ); +void glutJoystickSetDeadBand( int ident, int axis, float db ); +float glutJoystickGetSaturation( int ident, int axis ); +void glutJoystickSetSaturation( int ident, int axis, float st ); +void glutJoystickSetMinRange( int ident, float *axes ); +void glutJoystickSetMaxRange( int ident, float *axes ); +void glutJoystickSetCenter( int ident, float *axes ); +void glutJoystickGetMinRange( int ident, float *axes ); +void glutJoystickGetMaxRange( int ident, float *axes ); +void glutJoystickGetCenter( int ident, float *axes ); #ifdef __cplusplus }