Allowing compilation of Windows version by removing DLL decorations from deprecated joystick interface extensions

git-svn-id: https://svn.code.sf.net/p/freeglut/code/trunk@689 7f0cb862-5218-0410-a997-914c9d46530a
This commit is contained in:
fayjf 2005-10-06 14:01:56 +00:00
parent dfaf1a5846
commit 88b28ee963

View File

@ -128,19 +128,25 @@ FGAPI GLUTproc FGAPIENTRY glutGetProcAddress( const char *procName );
/* /*
* Joystick functions, see freeglut_joystick.c * Joystick functions, see freeglut_joystick.c
*/ */
FGAPI int FGAPIENTRY glutJoystickGetNumAxes( int ident ); /* USE OF THESE FUNCTIONS IS DEPRECATED !!!!! */
FGAPI int FGAPIENTRY glutJoystickGetNumButtons( int ident ); /* If you have a serious need for these functions in your application, please either
FGAPI int FGAPIENTRY glutJoystickNotWorking( int ident ); * contact the "freeglut" developer community at freeglut-developer@lists.sourceforge.net,
FGAPI float FGAPIENTRY glutJoystickGetDeadBand( int ident, int axis ); * switch to the OpenGLUT library, or else port your joystick functionality over to PLIB's
FGAPI void FGAPIENTRY glutJoystickSetDeadBand( int ident, int axis, float db ); * "js" library.
FGAPI float FGAPIENTRY glutJoystickGetSaturation( int ident, int axis ); */
FGAPI void FGAPIENTRY glutJoystickSetSaturation( int ident, int axis, float st ); int glutJoystickGetNumAxes( int ident );
FGAPI void FGAPIENTRY glutJoystickSetMinRange( int ident, float *axes ); int glutJoystickGetNumButtons( int ident );
FGAPI void FGAPIENTRY glutJoystickSetMaxRange( int ident, float *axes ); int glutJoystickNotWorking( int ident );
FGAPI void FGAPIENTRY glutJoystickSetCenter( int ident, float *axes ); float glutJoystickGetDeadBand( int ident, int axis );
FGAPI void FGAPIENTRY glutJoystickGetMinRange( int ident, float *axes ); void glutJoystickSetDeadBand( int ident, int axis, float db );
FGAPI void FGAPIENTRY glutJoystickGetMaxRange( int ident, float *axes ); float glutJoystickGetSaturation( int ident, int axis );
FGAPI void FGAPIENTRY glutJoystickGetCenter( int ident, float *axes ); 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 #ifdef __cplusplus
} }