]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/joystick.cpp
non-PCH build fix (according to Tinderbox).
[wxWidgets.git] / src / palmos / joystick.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/joystick.cpp
3 // Purpose: wxJoystick class
4 // Author: William Osborne - minimal working wxPalmOS port
5 // Modified by:
6 // Created: 10/13/04
7 // RCS-ID: $Id$
8 // Copyright: (c) William Osborne
9 // Licence: wxWindows licence
10 /////////////////////////////////////////////////////////////////////////////
11
12 // For compilers that support precompilation, includes "wx.h".
13 #include "wx/wxprec.h"
14
15 #if wxUSE_JOYSTICK
16
17 #include "wx/joystick.h"
18
19 #ifndef WX_PRECOMP
20 #include "wx/string.h"
21 #include "wx/window.h"
22 #endif
23
24 IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
25
26 // Attributes
27 ////////////////////////////////////////////////////////////////////////////
28
29 wxJoystick::wxJoystick(int joystick)
30 {
31 }
32
33 wxPoint wxJoystick::GetPosition() const
34 {
35 return wxPoint(0, 0);
36 }
37
38 int wxJoystick::GetZPosition() const
39 {
40 return 0;
41 }
42
43 int wxJoystick::GetButtonState() const
44 {
45 return 0;
46 }
47
48 int wxJoystick::GetPOVPosition() const
49 {
50 return -1;
51 }
52
53 int wxJoystick::GetPOVCTSPosition() const
54 {
55 return -1;
56 }
57
58 int wxJoystick::GetRudderPosition() const
59 {
60 return 0;
61 }
62
63 int wxJoystick::GetUPosition() const
64 {
65 return 0;
66 }
67
68 int wxJoystick::GetVPosition() const
69 {
70 return 0;
71 }
72
73 int wxJoystick::GetMovementThreshold() const
74 {
75 return 0;
76 }
77
78 void wxJoystick::SetMovementThreshold(int threshold)
79 {
80 }
81
82 // Capabilities
83 ////////////////////////////////////////////////////////////////////////////
84
85 int wxJoystick::GetNumberJoysticks()
86 {
87 return 0;
88 }
89
90 bool wxJoystick::IsOk() const
91 {
92 return false;
93 }
94
95 int wxJoystick::GetManufacturerId() const
96 {
97 return 0;
98 }
99
100 int wxJoystick::GetProductId() const
101 {
102 return 0;
103 }
104
105 wxString wxJoystick::GetProductName() const
106 {
107 return wxEmptyString;
108 }
109
110 int wxJoystick::GetXMin() const
111 {
112 return 0;
113 }
114
115 int wxJoystick::GetYMin() const
116 {
117 return 0;
118 }
119
120 int wxJoystick::GetZMin() const
121 {
122 return 0;
123 }
124
125 int wxJoystick::GetXMax() const
126 {
127 return 0;
128 }
129
130 int wxJoystick::GetYMax() const
131 {
132 return 0;
133 }
134
135 int wxJoystick::GetZMax() const
136 {
137 return 0;
138 }
139
140 int wxJoystick::GetNumberButtons() const
141 {
142 return 0;
143 }
144
145 int wxJoystick::GetNumberAxes() const
146 {
147 return 0;
148 }
149
150 int wxJoystick::GetMaxButtons() const
151 {
152 return 0;
153 }
154
155 int wxJoystick::GetMaxAxes() const
156 {
157 return 0;
158 }
159
160 int wxJoystick::GetPollingMin() const
161 {
162 return 0;
163 }
164
165 int wxJoystick::GetPollingMax() const
166 {
167 return 0;
168 }
169
170 int wxJoystick::GetRudderMin() const
171 {
172 return 0;
173 }
174
175 int wxJoystick::GetRudderMax() const
176 {
177 return 0;
178 }
179
180 int wxJoystick::GetUMin() const
181 {
182 return 0;
183 }
184
185 int wxJoystick::GetUMax() const
186 {
187 return 0;
188 }
189
190 int wxJoystick::GetVMin() const
191 {
192 return 0;
193 }
194
195 int wxJoystick::GetVMax() const
196 {
197 return 0;
198 }
199
200
201 bool wxJoystick::HasRudder() const
202 {
203 return false;
204 }
205
206 bool wxJoystick::HasZ() const
207 {
208 return false;
209 }
210
211 bool wxJoystick::HasU() const
212 {
213 return false;
214 }
215
216 bool wxJoystick::HasV() const
217 {
218 return false;
219 }
220
221 bool wxJoystick::HasPOV() const
222 {
223 return false;
224 }
225
226 bool wxJoystick::HasPOV4Dir() const
227 {
228 return false;
229 }
230
231 bool wxJoystick::HasPOVCTS() const
232 {
233 return false;
234 }
235
236 // Operations
237 ////////////////////////////////////////////////////////////////////////////
238
239 bool wxJoystick::SetCapture(wxWindow* win, int pollingFreq)
240 {
241 return false;
242 }
243
244 bool wxJoystick::ReleaseCapture()
245 {
246 return false;
247 }
248
249 #endif // wxUSE_JOYSTICK