X-Git-Url: http://git.mutantstargoat.com/user/nuclear/?a=blobdiff_plain;f=src%2Fandroid%2Ffg_joystick_android.c;h=148c500fe86bcb50998925b6580084d298bf2648;hb=207c3128bf025b5e025bace5c0425d380dd72aa9;hp=084978ad18f614c3f01fe06f9e436a1ebf82c376;hpb=cb1e59cf5e6ac8034ae91abfd320874004a44c88;p=freeglut diff --git a/src/android/fg_joystick_android.c b/src/android/fg_joystick_android.c index 084978a..148c500 100644 --- a/src/android/fg_joystick_android.c +++ b/src/android/fg_joystick_android.c @@ -29,22 +29,27 @@ #include #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"); }