/*
- * freeglut_init_android.c
+ * fg_init_android.c
*
* Various freeglut initialization functions.
*
#include <GL/freeglut.h>
#include "fg_internal.h"
+#include "fg_init.h"
+#include "egl/fg_init_egl.h"
void fgPlatformInitialize()
{
{
fghPlatformCloseDisplayEGL();
}
+
+/**
+ * Close joystick and serial input devices
+ */
+void fgPlatformDeinitialiseInputDevices ( void )
+{
+ fghCloseInputDevices ();
+ fgState.JoysticksInitialised = GL_FALSE;
+ fgState.InputDevsInitialised = GL_FALSE;
+}