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