Moving the Windows-specific joystick definitions into the Windows-specific header...
[freeglut] / src / mswin / freeglut_internal_mswin.h
index bd392f0..4f8aaba 100644 (file)
@@ -42,7 +42,29 @@ struct tagSFG_PlatformDisplay
  */\r
 typedef HWND    SFG_WindowHandleType ;\r
 typedef HGLRC   SFG_WindowContextType ;\r
+typedef struct tagSFG_PlatformContext SFG_PlatformContext;\r
+struct tagSFG_PlatformContext\r
+{\r
+    HDC             Device;          /* The window's device context         */\r
+};\r
+\r
+\r
+/* Joystick-Specific Definitions */\r
+#if !defined(_WIN32_WCE)\r
+#    define _JS_MAX_AXES  8\r
+typedef struct tagSFG_PlatformJoystick SFG_PlatformJoystick;\r
+struct tagSFG_PlatformJoystick\r
+{\r
+    JOYCAPS     jsCaps;\r
+    JOYINFOEX   js;\r
+    UINT        js_id;\r
+};\r
+#endif\r
+\r
+\r
 \r
+/* Function to be called on exit */\r
+extern void (__cdecl *__glutExitFunc)( int return_value );\r
 \r
 \r
 #endif  /* FREEGLUT_INTERNAL_MSWIN_H */
\ No newline at end of file