* magellan X-based protocol.
*/
+
#include <GL/freeglut.h>
#include "fg_internal.h"
+#if( !_WIN32 || _WIN32_WINNT >= 0x0501)
+
/* -- PRIVATE FUNCTIONS --------------------------------------------------- */
extern void fgPlatformInitializeSpaceball(void);
}
fgPlatformInitializeSpaceball();
-
- sball_initialized = 1;
}
void fgSpaceballClose(void)
{
- fgPlatformSpaceballClose();}
+ fgPlatformSpaceballClose();
+}
int fgHasSpaceball(void)
{
fgPlatformSpaceballSetWindow(window);
}
+#else
+
+void fgInitialiseSpaceball(void)
+{
+}
+
+void fgSpaceballClose(void)
+{
+}
+
+int fgHasSpaceball(void)
+{
+ return 0;
+}
+
+int fgSpaceballNumButtons(void)
+{
+ return 0;
+}
+
+void fgSpaceballSetWindow(SFG_Window *window)
+{
+}
+
+#endif