Fixed C2275 compiler error in fg_spaceball_mswin.c
[freeglut] / src / android / fg_joystick_android.c
index 084978a..148c500 100644 (file)
 #include <GL/freeglut.h>
 #include "fg_internal.h"
 
+/**
+ * TODO: Android has no joysticks at the moment (only touchscreens/touchpads),
+ * but we could expose the accelerometer as a 3-axis joystick.
+ */
+
 void fgPlatformJoystickRawRead( SFG_Joystick* joy, int* buttons, float* axes )
 {
-  fprintf(stderr, "fgPlatformJoystickRawRead: STUB\n");
+    fgWarning("fgPlatformJoystickRawRead: STUB\n");
 }
 
 void fgPlatformJoystickOpen( SFG_Joystick* joy )
 {
-  fprintf(stderr, "fgPlatformJoystickOpen: STUB\n");
+    fgWarning("fgPlatformJoystickOpen: STUB\n");
 }
 
 void fgPlatformJoystickInit( SFG_Joystick *fgJoystick[], int ident )
 {
-  fprintf(stderr, "fgJoystick: STUB\n");
+    fgWarning("fgJoystick: STUB\n");
 }
 
 void fgPlatformJoystickClose ( int ident )
 {
-  fprintf(stderr, "fgPlatformJoystickClose: STUB\n");
+    fgWarning("fgPlatformJoystickClose: STUB\n");
 }