/////////////////////////////////////////////////////////////////////////////
// Name: joystick.cpp
// Purpose: wxJoystick class
-// Author: AUTHOR
+// Author: Stefan Csomor
// Modified by:
-// Created: ??/??/98
+// Created: 1998-01-01
// RCS-ID: $Id$
-// Copyright: (c) AUTHOR
-// Licence: wxWindows licence
+// Copyright: (c) Stefan Csomor
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#ifdef __GNUG__
-#pragma implementation "joystick.h"
-#endif
+#include "wx/wxprec.h"
-#include "wx/setup.h"
+#if wxUSE_JOYSTICK
-#include "wx/joystick.h"
+#if !defined (__WXMAC_OSX__)
-#if wxUSE_JOYSTICK
+#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;
wxString wxJoystick::GetProductName() const
{
// TODO
- return wxString("");
+ return wxString(wxT(""));
}
int wxJoystick::GetXMin() const
return FALSE;
}
+#endif
+ // !OSX
#endif
- // wxUSE_JOYSTICK
+ // wxUSE_JOYSTICK