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