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