]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/joystick.cpp
route all Cairo calls in GTK printing code through gs_cairo (is this still needed?)
[wxWidgets.git] / src / palmos / joystick.cpp
1 /////////////////////////////////////////////////////////////////////////////
2 // Name: src/palmos/joystick.cpp
3 // Purpose: wxJoystick class
4 // Author: William Osborne - minimal working wxPalmOS port
5 // Modified by:
6 // Created: 10/13/04
7 // RCS-ID: $Id$
8 // Copyright: (c) William Osborne
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 IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
25
26 // Attributes
27 ////////////////////////////////////////////////////////////////////////////
28
29 wxJoystick::wxJoystick(int joystick)
30 {
31 }
32
33 wxPoint wxJoystick::GetPosition() const
34 {
35 return wxPoint(0, 0);
36 }
37
38 int wxJoystick::GetPosition(unsigned axis) const
39 {
40 // TODO
41 return 0;
42 }
43
44 bool wxJoystick::GetButtonState(unsigned id) const
45 {
46 // TODO
47 return false;
48 }
49
50 int wxJoystick::GetZPosition() const
51 {
52 return 0;
53 }
54
55 int wxJoystick::GetButtonState() const
56 {
57 return 0;
58 }
59
60 int wxJoystick::GetPOVPosition() const
61 {
62 return -1;
63 }
64
65 int wxJoystick::GetPOVCTSPosition() const
66 {
67 return -1;
68 }
69
70 int wxJoystick::GetRudderPosition() const
71 {
72 return 0;
73 }
74
75 int wxJoystick::GetUPosition() const
76 {
77 return 0;
78 }
79
80 int wxJoystick::GetVPosition() const
81 {
82 return 0;
83 }
84
85 int wxJoystick::GetMovementThreshold() const
86 {
87 return 0;
88 }
89
90 void wxJoystick::SetMovementThreshold(int threshold)
91 {
92 }
93
94 // Capabilities
95 ////////////////////////////////////////////////////////////////////////////
96
97 int wxJoystick::GetNumberJoysticks()
98 {
99 return 0;
100 }
101
102 bool wxJoystick::IsOk() const
103 {
104 return false;
105 }
106
107 int wxJoystick::GetManufacturerId() const
108 {
109 return 0;
110 }
111
112 int wxJoystick::GetProductId() const
113 {
114 return 0;
115 }
116
117 wxString wxJoystick::GetProductName() const
118 {
119 return wxEmptyString;
120 }
121
122 int wxJoystick::GetXMin() const
123 {
124 return 0;
125 }
126
127 int wxJoystick::GetYMin() const
128 {
129 return 0;
130 }
131
132 int wxJoystick::GetZMin() const
133 {
134 return 0;
135 }
136
137 int wxJoystick::GetXMax() const
138 {
139 return 0;
140 }
141
142 int wxJoystick::GetYMax() const
143 {
144 return 0;
145 }
146
147 int wxJoystick::GetZMax() const
148 {
149 return 0;
150 }
151
152 int wxJoystick::GetNumberButtons() const
153 {
154 return 0;
155 }
156
157 int wxJoystick::GetNumberAxes() const
158 {
159 return 0;
160 }
161
162 int wxJoystick::GetMaxButtons() const
163 {
164 return 0;
165 }
166
167 int wxJoystick::GetMaxAxes() const
168 {
169 return 0;
170 }
171
172 int wxJoystick::GetPollingMin() const
173 {
174 return 0;
175 }
176
177 int wxJoystick::GetPollingMax() const
178 {
179 return 0;
180 }
181
182 int wxJoystick::GetRudderMin() const
183 {
184 return 0;
185 }
186
187 int wxJoystick::GetRudderMax() const
188 {
189 return 0;
190 }
191
192 int wxJoystick::GetUMin() const
193 {
194 return 0;
195 }
196
197 int wxJoystick::GetUMax() const
198 {
199 return 0;
200 }
201
202 int wxJoystick::GetVMin() const
203 {
204 return 0;
205 }
206
207 int wxJoystick::GetVMax() const
208 {
209 return 0;
210 }
211
212
213 bool wxJoystick::HasRudder() const
214 {
215 return false;
216 }
217
218 bool wxJoystick::HasZ() const
219 {
220 return false;
221 }
222
223 bool wxJoystick::HasU() const
224 {
225 return false;
226 }
227
228 bool wxJoystick::HasV() const
229 {
230 return false;
231 }
232
233 bool wxJoystick::HasPOV() const
234 {
235 return false;
236 }
237
238 bool wxJoystick::HasPOV4Dir() const
239 {
240 return false;
241 }
242
243 bool wxJoystick::HasPOVCTS() const
244 {
245 return false;
246 }
247
248 // Operations
249 ////////////////////////////////////////////////////////////////////////////
250
251 bool wxJoystick::SetCapture(wxWindow* win, int pollingFreq)
252 {
253 return false;
254 }
255
256 bool wxJoystick::ReleaseCapture()
257 {
258 return false;
259 }
260
261 #endif // wxUSE_JOYSTICK