]> git.saurik.com Git - wxWidgets.git/blob - src/palmos/joystick.cpp
Fixed typo
[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 #if defined(__GNUG__) && !defined(NO_GCC_PRAGMA)
13 #pragma implementation "joystick.h"
14 #endif
15
16 // For compilers that support precompilation, includes "wx.h".
17 #include "wx/wxprec.h"
18
19 #ifdef __BORLANDC__
20 #pragma hdrstop
21 #endif
22
23 #include "wx/string.h"
24 #include "wx/window.h"
25 #include "wx/palmos/joystick.h"
26
27 IMPLEMENT_DYNAMIC_CLASS(wxJoystick, wxObject)
28
29 // Attributes
30 ////////////////////////////////////////////////////////////////////////////
31
32 wxJoystick::wxJoystick(int joystick)
33 {
34 };
35
36 wxPoint wxJoystick::GetPosition() const
37 {
38 return wxPoint(0, 0);
39 }
40
41 int wxJoystick::GetZPosition() const
42 {
43 return 0;
44 }
45
46 int wxJoystick::GetButtonState() const
47 {
48 return 0;
49 }
50
51 int wxJoystick::GetPOVPosition() const
52 {
53 return -1;
54 }
55
56 int wxJoystick::GetPOVCTSPosition() const
57 {
58 return -1;
59 }
60
61 int wxJoystick::GetRudderPosition() const
62 {
63 return 0;
64 }
65
66 int wxJoystick::GetUPosition() const
67 {
68 return 0;
69 }
70
71 int wxJoystick::GetVPosition() const
72 {
73 return 0;
74 }
75
76 int wxJoystick::GetMovementThreshold() const
77 {
78 return 0;
79 }
80
81 void wxJoystick::SetMovementThreshold(int threshold)
82 {
83 }
84
85 // Capabilities
86 ////////////////////////////////////////////////////////////////////////////
87
88 int wxJoystick::GetNumberJoysticks()
89 {
90 return 0;
91 }
92
93 bool wxJoystick::IsOk() const
94 {
95 return false;
96 }
97
98 int wxJoystick::GetManufacturerId() const
99 {
100 return 0;
101 }
102
103 int wxJoystick::GetProductId() const
104 {
105 return 0;
106 }
107
108 wxString wxJoystick::GetProductName() const
109 {
110 return wxEmptyString;
111 }
112
113 int wxJoystick::GetXMin() const
114 {
115 return 0;
116 }
117
118 int wxJoystick::GetYMin() const
119 {
120 return 0;
121 }
122
123 int wxJoystick::GetZMin() const
124 {
125 return 0;
126 }
127
128 int wxJoystick::GetXMax() const
129 {
130 return 0;
131 }
132
133 int wxJoystick::GetYMax() const
134 {
135 return 0;
136 }
137
138 int wxJoystick::GetZMax() const
139 {
140 return 0;
141 }
142
143 int wxJoystick::GetNumberButtons() const
144 {
145 return 0;
146 }
147
148 int wxJoystick::GetNumberAxes() const
149 {
150 return 0;
151 }
152
153 int wxJoystick::GetMaxButtons() const
154 {
155 return 0;
156 }
157
158 int wxJoystick::GetMaxAxes() const
159 {
160 return 0;
161 }
162
163 int wxJoystick::GetPollingMin() const
164 {
165 return 0;
166 }
167
168 int wxJoystick::GetPollingMax() const
169 {
170 return 0;
171 }
172
173 int wxJoystick::GetRudderMin() const
174 {
175 return 0;
176 }
177
178 int wxJoystick::GetRudderMax() const
179 {
180 return 0;
181 }
182
183 int wxJoystick::GetUMin() const
184 {
185 return 0;
186 }
187
188 int wxJoystick::GetUMax() const
189 {
190 return 0;
191 }
192
193 int wxJoystick::GetVMin() const
194 {
195 return 0;
196 }
197
198 int wxJoystick::GetVMax() const
199 {
200 return 0;
201 }
202
203
204 bool wxJoystick::HasRudder() const
205 {
206 return false;
207 }
208
209 bool wxJoystick::HasZ() const
210 {
211 return false;
212 }
213
214 bool wxJoystick::HasU() const
215 {
216 return false;
217 }
218
219 bool wxJoystick::HasV() const
220 {
221 return false;
222 }
223
224 bool wxJoystick::HasPOV() const
225 {
226 return false;
227 }
228
229 bool wxJoystick::HasPOV4Dir() const
230 {
231 return false;
232 }
233
234 bool wxJoystick::HasPOVCTS() const
235 {
236 return false;
237 }
238
239 // Operations
240 ////////////////////////////////////////////////////////////////////////////
241
242 bool wxJoystick::SetCapture(wxWindow* win, int pollingFreq)
243 {
244 return false;
245 }
246
247 bool wxJoystick::ReleaseCapture()
248 {
249 return false;
250 }
251