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