]>
git.saurik.com Git - wxWidgets.git/blob - src/x11/joystick.cpp
1 /////////////////////////////////////////////////////////////////////////////
3 // Purpose: wxJoystick class
4 // Author: Julian Smart
8 // Copyright: (c) Julian Smart
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
12 // Not implemented in X11
15 #include "wx/joystick.h"
17 IMPLEMENT_DYNAMIC_CLASS(wxJoystick
, wxObject
)
20 ////////////////////////////////////////////////////////////////////////////
22 wxPoint
wxJoystick::GetPosition() const
28 int wxJoystick::GetZPosition() const
34 int wxJoystick::GetButtonState() const
40 int wxJoystick::GetPOVPosition() const
46 int wxJoystick::GetPOVCTSPosition() const
52 int wxJoystick::GetRudderPosition() const
58 int wxJoystick::GetUPosition() const
64 int wxJoystick::GetVPosition() const
70 int wxJoystick::GetMovementThreshold() const
76 void wxJoystick::SetMovementThreshold(int threshold
)
82 ////////////////////////////////////////////////////////////////////////////
84 bool wxJoystick::IsOk() const
90 int wxJoystick::GetNumberJoysticks() const
96 int wxJoystick::GetManufacturerId() const
102 int wxJoystick::GetProductId() const
108 wxString
wxJoystick::GetProductName() const
114 int wxJoystick::GetXMin() const
120 int wxJoystick::GetYMin() const
126 int wxJoystick::GetZMin() const
132 int wxJoystick::GetXMax() const
138 int wxJoystick::GetYMax() const
144 int wxJoystick::GetZMax() const
150 int wxJoystick::GetNumberButtons() const
156 int wxJoystick::GetNumberAxes() const
162 int wxJoystick::GetMaxButtons() const
168 int wxJoystick::GetMaxAxes() const
174 int wxJoystick::GetPollingMin() const
180 int wxJoystick::GetPollingMax() const
186 int wxJoystick::GetRudderMin() const
192 int wxJoystick::GetRudderMax() const
198 int wxJoystick::GetUMin() const
204 int wxJoystick::GetUMax() const
210 int wxJoystick::GetVMin() const
216 int wxJoystick::GetVMax() const
222 bool wxJoystick::HasRudder() const
228 bool wxJoystick::HasZ() const
234 bool wxJoystick::HasU() const
240 bool wxJoystick::HasV() const
246 bool wxJoystick::HasPOV() const
252 bool wxJoystick::HasPOV4Dir() const
258 bool wxJoystick::HasPOVCTS() const
265 ////////////////////////////////////////////////////////////////////////////
267 bool wxJoystick::SetCapture(wxWindow
* win
, int pollingFreq
)
273 bool wxJoystick::ReleaseCapture()