#pragma implementation "joystick.h"
#endif
+#include "wx/defs.h"
+
+#if wxUSE_JOYSTICK
+
+#include "wx/joystick.h"
+
#include <linux/joystick.h>
#include <sys/types.h>
#include <sys/stat.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
struct timeval time_out = {0, 0};
FD_ZERO(&read_fds);
- DeferDestroy(TRUE);
while (1) {
TestDestroy();
wxString wxJoystick::GetProductName(void) const
{
- return "";
+ return wxT("");
}
int wxJoystick::GetXMin(void) const
m_polling = 0;
return TRUE;
}
+#endif // wxUSE_JOYSTICK