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