#ifdef __GNUG__
#pragma implementation "joystick.h"
#endif
+
+#include <wx/joystick.h>
+
#if wxUSE_JOYSTICK
#include <linux/joystick.h>
#include <sys/ioctl.h>
#include <fcntl.h>
#include <unistd.h>
+
#include "wx/event.h"
#include "wx/window.h"
-#include "wx/gtk/joystick.h"
#define JOYSTICK_AXE_MAX 32767
#define JOYSTICK_AXE_MIN -32767
m_polling = 0;
return TRUE;
}
-#endif
+#endif // wxUSE_JOYSTICK