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