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