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