projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
escape underscores and don't use abbreviations in text
[wxWidgets.git]
/
src
/
os2
/
joystick.cpp
diff --git
a/src/os2/joystick.cpp
b/src/os2/joystick.cpp
index 73e82b549b76ab4d4268924a5e2b7c5989bad4fe..5f2110557e8012622a3e3f5c7be85a9c06f9080c 100644
(file)
--- a/
src/os2/joystick.cpp
+++ b/
src/os2/joystick.cpp
@@
-9,6
+9,15
@@
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
// Licence: wxWindows licence
/////////////////////////////////////////////////////////////////////////////
+//
+// For compilers that support precompilation, includes "wx.h".
+//
+#include "wx/wxprec.h"
+
+#include "wx/defs.h"
+
+#if wxUSE_JOYSTICK
+
#include "wx/string.h"
#define INCL_PM
#define INCL_DOS
#include "wx/string.h"
#define INCL_PM
#define INCL_DOS
@@
-78,7
+87,7
@@
int wxJoystick::GetMovementThreshold() const
return 0;
}
return 0;
}
-void wxJoystick::SetMovementThreshold(int
threshold
)
+void wxJoystick::SetMovementThreshold(int
WXUNUSED(threshold)
)
{
// TODO
}
{
// TODO
}
@@
-89,7
+98,7
@@
void wxJoystick::SetMovementThreshold(int threshold)
bool wxJoystick::IsOk() const
{
// TODO
bool wxJoystick::IsOk() const
{
// TODO
- return
FALSE
;
+ return
false
;
}
int wxJoystick::GetNumberJoysticks() const
}
int wxJoystick::GetNumberJoysticks() const
@@
-227,57
+236,57
@@
int wxJoystick::GetVMax() const
bool wxJoystick::HasRudder() const
{
// TODO
bool wxJoystick::HasRudder() const
{
// TODO
- return
FALSE
;
+ return
false
;
}
bool wxJoystick::HasZ() const
{
// TODO
}
bool wxJoystick::HasZ() const
{
// TODO
- return
FALSE
;
+ return
false
;
}
bool wxJoystick::HasU() const
{
// TODO
}
bool wxJoystick::HasU() const
{
// TODO
- return
FALSE
;
+ return
false
;
}
bool wxJoystick::HasV() const
{
// TODO
}
bool wxJoystick::HasV() const
{
// TODO
- return
FALSE
;
+ return
false
;
}
bool wxJoystick::HasPOV() const
{
// TODO
}
bool wxJoystick::HasPOV() const
{
// TODO
- return
FALSE
;
+ return
false
;
}
bool wxJoystick::HasPOV4Dir() const
{
// TODO
}
bool wxJoystick::HasPOV4Dir() const
{
// TODO
- return
FALSE
;
+ return
false
;
}
bool wxJoystick::HasPOVCTS() const
{
// TODO
}
bool wxJoystick::HasPOVCTS() const
{
// TODO
- return
FALSE
;
+ return
false
;
}
// Operations
////////////////////////////////////////////////////////////////////////////
}
// Operations
////////////////////////////////////////////////////////////////////////////
-bool wxJoystick::SetCapture(wxWindow*
win, int pollingFreq
)
+bool wxJoystick::SetCapture(wxWindow*
WXUNUSED(win), int WXUNUSED(pollingFreq)
)
{
// TODO
{
// TODO
- return
FALSE
;
+ return
false
;
}
bool wxJoystick::ReleaseCapture()
{
// TODO
}
bool wxJoystick::ReleaseCapture()
{
// TODO
- return
FALSE
;
+ return
false
;
}
}
-
+#endif // wxUSE_JOYSTICK