X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fmswin%2Ffreeglut_internal_mswin.h;h=4f8aaba4dd60465bb3a5d8f6650e2119ef4876d1;hb=90b777df737006ae0b92acfdd0efc29f7bec136c;hp=c83f23184982835b2a38bc7380bae5714b76afdc;hpb=481216ae30a9f573a56774fd7d8a300ab76d7189;p=freeglut diff --git a/src/mswin/freeglut_internal_mswin.h b/src/mswin/freeglut_internal_mswin.h index c83f231..4f8aaba 100644 --- a/src/mswin/freeglut_internal_mswin.h +++ b/src/mswin/freeglut_internal_mswin.h @@ -49,6 +49,20 @@ struct tagSFG_PlatformContext }; +/* Joystick-Specific Definitions */ +#if !defined(_WIN32_WCE) +# define _JS_MAX_AXES 8 +typedef struct tagSFG_PlatformJoystick SFG_PlatformJoystick; +struct tagSFG_PlatformJoystick +{ + JOYCAPS jsCaps; + JOYINFOEX js; + UINT js_id; +}; +#endif + + + /* Function to be called on exit */ extern void (__cdecl *__glutExitFunc)( int return_value );