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