/////////////////////////////////////////////////////////////////////////////
-// Name: joystick.cpp
+// Name: src/mac/classic/joystick.cpp
// Purpose: wxJoystick class
// Author: Stefan Csomor
// Modified by:
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
-#include "wx/setup.h"
-
-#include "wx/joystick.h"
+#include "wx/wxprec.h"
#if wxUSE_JOYSTICK
+#include "wx/joystick.h"
+
IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
// Attributes
bool wxJoystick::IsOk() const
{
// TODO
- return FALSE;
+ return false;
}
-int wxJoystick::GetNumberJoysticks() const
+int wxJoystick::GetNumberJoysticks()
{
// TODO
return 0;
wxString wxJoystick::GetProductName() const
{
// TODO
- return wxString(wxT(""));
+ return wxEmptyString;
}
int wxJoystick::GetXMin() const
bool wxJoystick::HasRudder() const
{
// TODO
- return FALSE;
+ return false;
}
bool wxJoystick::HasZ() const
{
// TODO
- return FALSE;
+ return false;
}
bool wxJoystick::HasU() const
{
// TODO
- return FALSE;
+ return false;
}
bool wxJoystick::HasV() const
{
// TODO
- return FALSE;
+ return false;
}
bool wxJoystick::HasPOV() const
{
// TODO
- return FALSE;
+ return false;
}
bool wxJoystick::HasPOV4Dir() const
{
// TODO
- return FALSE;
+ return false;
}
bool wxJoystick::HasPOVCTS() const
{
// TODO
- return FALSE;
+ return false;
}
// Operations
bool wxJoystick::SetCapture(wxWindow* win, int pollingFreq)
{
// TODO
- return FALSE;
+ return false;
}
bool wxJoystick::ReleaseCapture()
{
// TODO
- return FALSE;
+ return false;
}
#endif
// wxUSE_JOYSTICK
-