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