projects
/
freeglut
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
When having submenu open in one window and activating its root menu in
[freeglut]
/
src
/
android
/
fg_joystick_android.c
diff --git
a/src/android/fg_joystick_android.c
b/src/android/fg_joystick_android.c
index
084978a
..
148c500
100644
(file)
--- a/
src/android/fg_joystick_android.c
+++ b/
src/android/fg_joystick_android.c
@@
-29,22
+29,27
@@
#include <GL/freeglut.h>
#include "fg_internal.h"
#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 )
{
void fgPlatformJoystickRawRead( SFG_Joystick* joy, int* buttons, float* axes )
{
- fprintf(stderr, "fgPlatformJoystickRawRead: STUB\n");
+ fgWarning("fgPlatformJoystickRawRead: STUB\n");
}
void fgPlatformJoystickOpen( SFG_Joystick* joy )
{
}
void fgPlatformJoystickOpen( SFG_Joystick* joy )
{
- fprintf(stderr, "fgPlatformJoystickOpen: STUB\n");
+ fgWarning("fgPlatformJoystickOpen: STUB\n");
}
void fgPlatformJoystickInit( SFG_Joystick *fgJoystick[], int ident )
{
}
void fgPlatformJoystickInit( SFG_Joystick *fgJoystick[], int ident )
{
- fprintf(stderr, "fgJoystick: STUB\n");
+ fgWarning("fgJoystick: STUB\n");
}
void fgPlatformJoystickClose ( int ident )
{
}
void fgPlatformJoystickClose ( int ident )
{
- fprintf(stderr, "fgPlatformJoystickClose: STUB\n");
+ fgWarning("fgPlatformJoystickClose: STUB\n");
}
}