// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
-#pragma implementation "joystick.h"
-#endif
-
#include "wx/wxprec.h"
#if wxUSE_JOYSTICK
+#if !defined (__WXMAC_OSX__)
+
#include "wx/joystick.h"
IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
return wxPoint(0, 0);
}
+int wxJoystick::GetPosition(unsigned axis) const
+{
+ // TODO
+ return 0;
+}
+
+bool wxJoystick::GetButtonState(unsigned id) const
+{
+ // TODO
+ return false;
+}
+
int wxJoystick::GetZPosition() const
{
// TODO
return FALSE;
}
-int wxJoystick::GetNumberJoysticks() const
+int wxJoystick::GetNumberJoysticks()
{
// TODO
return 0;
return FALSE;
}
+#endif
+ // !OSX
#endif
// wxUSE_JOYSTICK