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