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