/////////////////////////////////////////////////////////////////////////////
-// Name: joystick.cpp
+// Name: src/mac/classic/joystick.cpp
// Purpose: wxJoystick class
// Author: Stefan Csomor
// Modified by:
// Created: 1998-01-01
// RCS-ID: $Id$
// Copyright: (c) Stefan Csomor
-// Licence: wxWidgets licence
+// 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 wxUSE_JOYSTICK
-
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
-