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