/////////////////////////////////////////////////////////////////////////////
-// Name: joystick.cpp
+// Name: src/os2/joystick.cpp
// Purpose: wxJoystick class
// Author: David Webster
// Modified by:
// Created: 10/09/99
// RCS-ID: $Id$
// Copyright: (c) David Webster
-// Licence: wxWidgets licence
+// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+//
+// For compilers that support precompilation, includes "wx.h".
+//
+#include "wx/wxprec.h"
+
#include "wx/defs.h"
#if wxUSE_JOYSTICK
#define NO_JOYGETPOSEX
-#include <wx/window.h>
-#include <wx/joystick.h>
+#include "wx/window.h"
+#include "wx/joystick.h"
IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
return 0;
}
-void wxJoystick::SetMovementThreshold(int threshold)
+void wxJoystick::SetMovementThreshold(int WXUNUSED(threshold))
{
// TODO
}
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("");
+ 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)
+bool wxJoystick::SetCapture(wxWindow* WXUNUSED(win), int WXUNUSED(pollingFreq))
{
// TODO
- return FALSE;
+ return false;
}
bool wxJoystick::ReleaseCapture()
{
// TODO
- return FALSE;
+ return false;
}
#endif // wxUSE_JOYSTICK
-