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