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