author | Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com> |
Fri, 11 Jun 2010 15:02:23 +0300 | |
changeset 152 | 657f875b013e |
parent 0 | a41df078684a |
permissions | -rw-r--r-- |
152
657f875b013e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
1 |
// Copyright (c) 1998-2010 Nokia Corporation and/or its subsidiary(-ies). |
0 | 2 |
// All rights reserved. |
3 |
// This component and the accompanying materials are made available |
|
4 |
// under the terms of the License "Eclipse Public License v1.0" |
|
5 |
// which accompanies this distribution, and is available |
|
6 |
// at the URL "http://www.eclipse.org/legal/epl-v10.html". |
|
7 |
// |
|
8 |
// Initial Contributors: |
|
9 |
// Nokia Corporation - initial contribution. |
|
10 |
// |
|
11 |
// Contributors: |
|
12 |
// |
|
13 |
// Description: |
|
14 |
// e32\drivers\xyin\d_xyin.cpp |
|
15 |
// Generic digitiser driver |
|
16 |
// |
|
17 |
// |
|
18 |
||
19 |
||
20 |
#include <drivers/xyin.h> |
|
21 |
#include <kernel/kern_priv.h> |
|
152
657f875b013e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
22 |
#include <hal_data.h> |
0 | 23 |
|
24 |
_LIT(KLitDigitiser,"Digitiser"); |
|
25 |
||
26 |
LOCAL_C void sampleDfc(TAny* aPtr) |
|
27 |
{ |
|
28 |
((DDigitiser*)aPtr)->ProcessRawSample(); |
|
29 |
} |
|
30 |
||
31 |
LOCAL_C void penUpDfc(TAny* aPtr) |
|
32 |
{ |
|
33 |
((DDigitiser*)aPtr)->ProcessPenUp(); |
|
34 |
} |
|
35 |
||
36 |
LOCAL_C TInt halFunction(TAny* aPtr, TInt aFunction, TAny* a1, TAny* a2) |
|
37 |
{ |
|
38 |
DDigitiser* pH=(DDigitiser*)aPtr; |
|
39 |
return pH->HalFunction(aFunction,a1,a2); |
|
40 |
} |
|
41 |
||
42 |
LOCAL_C void rxMsg(TAny* aPtr) |
|
43 |
{ |
|
44 |
DDigitiser& h=*(DDigitiser*)aPtr; |
|
45 |
TMessageBase* pM=h.iMsgQ.iMessage; |
|
46 |
if (pM) |
|
47 |
h.HandleMsg(pM); |
|
48 |
} |
|
49 |
||
50 |
DDigitiser::DDigitiser() |
|
51 |
: DPowerHandler(KLitDigitiser), |
|
52 |
iMsgQ(rxMsg,this,NULL,1), |
|
53 |
iSampleDfc(sampleDfc,this,5), |
|
152
657f875b013e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
54 |
iPenUpDfc(penUpDfc,this,5), |
657f875b013e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
55 |
iOrientation(HALData::EDigitiserOrientation_default) |
0 | 56 |
{ |
57 |
// iBufferIndex=0; |
|
58 |
// iLastPos=TPoint(0,0); |
|
59 |
// iState=EIdle; |
|
60 |
// iCount=0; |
|
61 |
// iPointerOn=EFalse |
|
62 |
} |
|
63 |
||
64 |
TInt DDigitiser::Create() |
|
65 |
{ |
|
66 |
TInt r=DoCreate(); // do hardware-dependent initialisation |
|
67 |
||
68 |
if (r!=KErrNone) |
|
69 |
return r; |
|
70 |
||
71 |
__ASSERT_DEBUG(iDfcQ, Kern::Fault("DDigitiser::Create iDfcQ not set", __LINE__)); |
|
72 |
iMsgQ.SetDfcQ(iDfcQ); |
|
73 |
iSampleDfc.SetDfcQ(iDfcQ); |
|
74 |
iPenUpDfc.SetDfcQ(iDfcQ); |
|
75 |
||
76 |
TInt n=iCfg.iPenUpDiscard; // number of samples to delay |
|
77 |
iBuffer=(TPoint*)Kern::Alloc(n*sizeof(TPoint)); |
|
78 |
if (!iBuffer) |
|
79 |
return KErrNoMemory; |
|
80 |
||
81 |
// install the HAL function |
|
82 |
r=Kern::AddHalEntry(EHalGroupDigitiser,halFunction,this); |
|
83 |
if (r!=KErrNone) |
|
84 |
return r; |
|
85 |
||
86 |
iMsgQ.Receive(); |
|
87 |
||
88 |
// wait for pen down |
|
89 |
WaitForPenDown(); |
|
90 |
||
91 |
return r; |
|
92 |
} |
|
93 |
||
94 |
void DDigitiser::RawSampleValid() |
|
95 |
// |
|
96 |
// Called by hardware-dependent code when a raw sample is available |
|
97 |
// |
|
98 |
{ |
|
99 |
iSampleDfc.Add(); |
|
100 |
} |
|
101 |
||
102 |
void DDigitiser::PenUp() |
|
103 |
// |
|
104 |
// Called by hardware-dependent code when the pen goes up |
|
105 |
// |
|
106 |
{ |
|
107 |
iPenUpDfc.Add(); |
|
108 |
} |
|
109 |
||
110 |
void DDigitiser::ProcessRawSample() |
|
111 |
// |
|
112 |
// DFC to process a raw sample |
|
113 |
// |
|
114 |
{ |
|
115 |
TPoint p; |
|
116 |
TInt r; |
|
117 |
TBool ok=SamplesToPoint(p); |
|
118 |
if (!ok) |
|
119 |
{ |
|
120 |
// wait for pen to stabilise |
|
121 |
__KTRACE_XY2(Kern::Printf("BS")); |
|
122 |
WaitForPenUpDebounce(); |
|
123 |
return; |
|
124 |
} |
|
125 |
__KTRACE_XY2(Kern::Printf("GS (%d,%d) %d",p.iX,p.iY,iState)); |
|
126 |
switch (iState) |
|
127 |
{ |
|
128 |
case EIdle: |
|
129 |
// pen has just gone down |
|
130 |
iCount=iCfg.iPenDownDiscard; |
|
131 |
iState=EDiscardOnPenDown; |
|
132 |
// fall through |
|
133 |
case EDiscardOnPenDown: |
|
134 |
if (iCount) |
|
135 |
{ |
|
136 |
// still discarding |
|
137 |
iCount--; |
|
138 |
break; |
|
139 |
} |
|
140 |
iState=EBufferFilling; |
|
141 |
iBufferIndex=0; |
|
142 |
iCount=iCfg.iPenUpDiscard; |
|
143 |
// fall through |
|
144 |
case EBufferFilling: |
|
145 |
if (iCount) |
|
146 |
{ |
|
147 |
// buffer still filling |
|
148 |
iCount--; |
|
149 |
iBuffer[iBufferIndex++]=p; |
|
150 |
if (iBufferIndex==iCfg.iPenUpDiscard) |
|
151 |
iBufferIndex=0; |
|
152 |
break; |
|
153 |
} |
|
154 |
iState=EBufferFull; |
|
155 |
// fall through |
|
156 |
case EBufferFull: |
|
157 |
r=DelayAndConvertSample(p,iLastPos); |
|
158 |
if (r!=KErrNone) |
|
159 |
break; // off the screen, so don't issue Pen Down Event |
|
160 |
iState=EPenDown; |
|
161 |
ResetPenMoveFilter(); |
|
162 |
IssuePenDownEvent(); |
|
163 |
break; |
|
164 |
case EPenDown: |
|
165 |
r=DelayAndConvertSample(p,p); |
|
166 |
if (r!=KErrNone) |
|
167 |
{ |
|
168 |
iState=EIdle; // off the screen, so treat as pen-up |
|
169 |
IssuePenUpEvent(); |
|
170 |
break; |
|
171 |
} |
|
172 |
FilterPenMove(p); |
|
173 |
break; |
|
174 |
}; |
|
175 |
WaitForPenUp(); // request another sample from the hardware |
|
176 |
} |
|
177 |
||
178 |
void DDigitiser::ProcessPenUp() |
|
179 |
// |
|
180 |
// DFC to process pen-up events |
|
181 |
// |
|
182 |
{ |
|
183 |
__KTRACE_XY2(Kern::Printf("up %d",iState)); |
|
184 |
switch (iState) |
|
185 |
{ |
|
186 |
case EIdle: |
|
187 |
case EDiscardOnPenDown: |
|
188 |
case EBufferFilling: |
|
189 |
case EBufferFull: |
|
190 |
iState=EIdle; |
|
191 |
break; |
|
192 |
case EPenDown: |
|
193 |
iState=EIdle; |
|
194 |
IssuePenUpEvent(); |
|
195 |
break; |
|
196 |
} |
|
197 |
WaitForPenDown(); // tell the hardware to watch for another pen-down |
|
198 |
} |
|
199 |
||
200 |
TBool DDigitiser::SamplesToPoint(TPoint& aPoint) |
|
201 |
// |
|
202 |
// Average and validate the raw samples from the hardware |
|
203 |
// |
|
204 |
{ |
|
205 |
#if defined(__DIGITISER_DEBUG2__) |
|
206 |
TBuf<80> buf; |
|
207 |
#endif |
|
208 |
TInt i; |
|
209 |
TInt minx=KMaxTInt; |
|
210 |
TInt miny=KMaxTInt; |
|
211 |
TInt maxx=KMinTInt; |
|
212 |
TInt maxy=KMinTInt; |
|
213 |
TInt sumx=0; |
|
214 |
TInt sumy=0; |
|
215 |
TInt n=iCfg.iNumXYSamples; |
|
216 |
for (i=0; i<n; i++) |
|
217 |
{ |
|
218 |
TInt x=iX[i]; |
|
219 |
if (x<minx) |
|
220 |
minx=x; |
|
221 |
if (x>maxx) |
|
222 |
maxx=x; |
|
223 |
sumx+=x; |
|
224 |
TInt y=iY[i]; |
|
225 |
if (y<miny) |
|
226 |
miny=y; |
|
227 |
if (y>maxy) |
|
228 |
maxy=y; |
|
229 |
sumy+=y; |
|
230 |
// __KTRACE_XY2(buf.AppendFormat(_L("(%d,%d) "),x,y)); |
|
231 |
__KTRACE_XY2(Kern::Printf("(%d,%d) ",x,y)); |
|
232 |
} |
|
233 |
// __KTRACE_XY2(Kern::Printf("%S", buf)); |
|
234 |
||
235 |
TInt spreadx=maxx-minx; |
|
236 |
TInt spready=maxy-miny; |
|
237 |
if (iCfg.iDisregardMinMax) |
|
238 |
{ |
|
239 |
sumx-=minx; // disregard extremal values in average |
|
240 |
sumx-=maxx; |
|
241 |
sumy-=miny; |
|
242 |
sumy-=maxy; |
|
243 |
n-=2; |
|
244 |
} |
|
245 |
sumx/=n; // average the values |
|
246 |
sumy/=n; |
|
247 |
if (spreadx<iCfg.iSpreadX && spready<iCfg.iSpreadY && sumx>=iCfg.iMinX && sumx<=iCfg.iMaxX && sumy>=iCfg.iMinY && sumy<=iCfg.iMaxY) |
|
248 |
{ |
|
249 |
// samples are OK |
|
250 |
aPoint.iX=sumx; |
|
251 |
aPoint.iY=sumy; |
|
252 |
return ETrue; |
|
253 |
} |
|
254 |
// samples are dodgy |
|
255 |
return EFalse; |
|
256 |
} |
|
257 |
||
258 |
TInt DDigitiser::DelayAndConvertSample(const TPoint& aSample, TPoint& aScreenPoint) |
|
259 |
// |
|
260 |
// Pass a sample through the delay line and convert to screen coordinates |
|
261 |
// |
|
262 |
{ |
|
263 |
if (iCfg.iPenUpDiscard != 0) |
|
264 |
{ |
|
265 |
TPoint p=iBuffer[iBufferIndex]; // sample leaving delay line |
|
266 |
iBuffer[iBufferIndex++]=aSample; // sample entering delay line |
|
267 |
if (iBufferIndex==iCfg.iPenUpDiscard) |
|
268 |
iBufferIndex=0; |
|
269 |
return DigitiserToScreen(p,aScreenPoint); |
|
270 |
} |
|
271 |
return DigitiserToScreen(aSample,aScreenPoint); |
|
272 |
} |
|
273 |
||
274 |
void DDigitiser::IssuePenDownEvent() |
|
275 |
{ |
|
276 |
TRawEvent e; |
|
277 |
e.Set(TRawEvent::EButton1Down,iLastPos.iX,iLastPos.iY); |
|
278 |
Kern::AddEvent(e); |
|
279 |
__KTRACE_XY2(Kern::Printf("D %d,%d",e.Pos().iX,e.Pos().iY)); |
|
280 |
} |
|
281 |
||
282 |
void DDigitiser::IssuePenUpEvent() |
|
283 |
{ |
|
284 |
TRawEvent e; |
|
285 |
e.Set(TRawEvent::EButton1Up,iLastPos.iX,iLastPos.iY); |
|
286 |
Kern::AddEvent(e); |
|
287 |
__KTRACE_XY2(Kern::Printf("U %d,%d",e.Pos().iX,e.Pos().iY)); |
|
288 |
} |
|
289 |
||
290 |
void DDigitiser::IssuePenMoveEvent(const TPoint& aPoint) |
|
291 |
{ |
|
292 |
TRawEvent e; |
|
293 |
e.Set(TRawEvent::EPointerMove,aPoint.iX,aPoint.iY); |
|
294 |
Kern::AddEvent(e); |
|
295 |
__KTRACE_XY2(Kern::Printf("M %d,%d",e.Pos().iX,e.Pos().iY)); |
|
296 |
} |
|
297 |
||
298 |
void DDigitiser::HandleMsg(TMessageBase* aMsg) |
|
299 |
{ |
|
300 |
if (aMsg->iValue) |
|
301 |
DigitiserOn(); |
|
302 |
else |
|
303 |
DigitiserOff(); |
|
304 |
aMsg->Complete(KErrNone,ETrue); |
|
305 |
} |
|
306 |
||
307 |
TInt DDigitiser::HalFunction(TInt aFunction, TAny* a1, TAny* a2) |
|
308 |
{ |
|
309 |
TInt r=KErrNone; |
|
310 |
__KTRACE_OPT(KEXTENSION,Kern::Printf("HalFunction %d", aFunction)); |
|
311 |
switch(aFunction) |
|
312 |
{ |
|
313 |
case EDigitiserHalXYInfo: |
|
314 |
{ |
|
315 |
TPckgBuf<TDigitiserInfoV01> vPckg; |
|
316 |
DigitiserInfo(vPckg()); |
|
317 |
Kern::InfoCopy(*(TDes8*)a1,vPckg); |
|
318 |
break; |
|
319 |
} |
|
320 |
case EDigitiserHalSetXYInputCalibration: |
|
321 |
{ |
|
322 |
if(!Kern::CurrentThreadHasCapability(ECapabilityWriteDeviceData,__PLATSEC_DIAGNOSTIC_STRING("Checked by Hal function EDigitiserHalSetXYInputCalibration"))) |
|
323 |
return KErrPermissionDenied; |
|
324 |
TDigitizerCalibration cal; |
|
325 |
kumemget32(&cal,a1,sizeof(TDigitizerCalibration)); |
|
326 |
r=SetXYInputCalibration(cal); |
|
327 |
break; |
|
328 |
} |
|
329 |
case EDigitiserHalCalibrationPoints: |
|
330 |
TDigitizerCalibration cal; |
|
331 |
r=CalibrationPoints(cal); |
|
332 |
kumemput32(a1,&cal,sizeof(TDigitizerCalibration)); |
|
333 |
break; |
|
334 |
case EDigitiserHalSaveXYInputCalibration: |
|
335 |
r=SaveXYInputCalibration(); |
|
336 |
break; |
|
337 |
case EDigitiserHalRestoreXYInputCalibration: |
|
338 |
if(!Kern::CurrentThreadHasCapability(ECapabilityWriteDeviceData,__PLATSEC_DIAGNOSTIC_STRING("Checked by Hal function EDigitiserHalRestoreXYInputCalibration"))) |
|
339 |
return KErrPermissionDenied; |
|
340 |
r=RestoreXYInputCalibration((TDigitizerCalibrationType)(TInt)a1); |
|
341 |
break; |
|
342 |
case EDigitiserHalSetXYState: |
|
343 |
{ |
|
344 |
if(!Kern::CurrentThreadHasCapability(ECapabilityPowerMgmt,__PLATSEC_DIAGNOSTIC_STRING("Checked by Hal function EDigitiserHalSetXYState"))) |
|
345 |
return KErrPermissionDenied; |
|
346 |
if ((TBool)a1) |
|
347 |
{ |
|
348 |
TThreadMessage& m=Kern::Message(); |
|
349 |
m.iValue = ETrue; |
|
350 |
m.SendReceive(&iMsgQ); |
|
351 |
} |
|
352 |
else |
|
353 |
{ |
|
354 |
TThreadMessage& m=Kern::Message(); |
|
355 |
m.iValue = EFalse; |
|
356 |
m.SendReceive(&iMsgQ); |
|
357 |
} |
|
358 |
} |
|
359 |
break; |
|
360 |
case EDigitiserHalXYState: |
|
361 |
kumemput32(a1, (TBool*)&iPointerOn, sizeof(TBool)); |
|
362 |
break; |
|
152
657f875b013e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
363 |
|
657f875b013e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
364 |
// a2 = TBool aSet (ETrue for setting, EFalse for retrieval) |
657f875b013e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
365 |
// a1 = TDigitizerOrientation (set) |
657f875b013e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
366 |
// a1 = &TDigitizerOrientation (get) |
657f875b013e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
367 |
case EDigitiserOrientation: |
657f875b013e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
368 |
if ((TBool)a2) |
657f875b013e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
369 |
{ |
657f875b013e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
370 |
// Set the orientation attribute |
657f875b013e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
371 |
// In case user thread, check it has WDD capability |
657f875b013e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
372 |
if(!Kern::CurrentThreadHasCapability(ECapabilityWriteDeviceData,__PLATSEC_DIAGNOSTIC_STRING("Checked by Hal function EDigitiserOrientation"))) |
657f875b013e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
373 |
return KErrPermissionDenied; |
657f875b013e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
374 |
iOrientation = (TInt)a1; |
657f875b013e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
375 |
} |
657f875b013e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
376 |
else |
657f875b013e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
377 |
{ |
657f875b013e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
378 |
// Get the orientation attribute, safe copy it into user memory |
657f875b013e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
379 |
kumemput32(a1, &iOrientation, sizeof(TInt)); |
657f875b013e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
380 |
} |
657f875b013e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
381 |
break; |
657f875b013e
Revision: 201023
Dremov Kirill (Nokia-D-MSW/Tampere) <kirill.dremov@nokia.com>
parents:
0
diff
changeset
|
382 |
|
0 | 383 |
default: |
384 |
r=KErrNotSupported; |
|
385 |
break; |
|
386 |
} |
|
387 |
return r; |
|
388 |
} |
|
389 |
||
390 |
DECLARE_STANDARD_EXTENSION() |
|
391 |
{ |
|
392 |
__KTRACE_OPT(KEXTENSION,Kern::Printf("Starting digitiser driver")); |
|
393 |
if (Kern::SuperPage().iCpuId & KCpuIdISS) |
|
394 |
return KErrNone; // no digitiser on ARMULATOR |
|
395 |
DDigitiser* pD=DDigitiser::New(); |
|
396 |
TInt r=KErrNoMemory; |
|
397 |
if (pD) |
|
398 |
r=pD->Create(); |
|
399 |
__KTRACE_OPT(KEXTENSION,Kern::Printf("Returning %d",r)); |
|
400 |
return r; |
|
401 |
} |
|
402 |
||
403 |
#ifdef __BUILD_DEVICE_DRIVER__ |
|
404 |
class DDigitiserPdd : public DPhysicalDevice |
|
405 |
{ |
|
406 |
public: |
|
407 |
virtual TInt Install(); |
|
408 |
virtual void GetCaps(TDes8& aDes) const; |
|
409 |
virtual TInt Create(DBase*& aChannel, TInt aUnit, const TDesC8* anInfo, const TVersion& aVer); |
|
410 |
virtual TInt Validate(TInt aUnit, const TDesC8* anInfo, const TVersion& aVer); |
|
411 |
}; |
|
412 |
||
413 |
_LIT(KPddName,"XYInput"); |
|
414 |
||
415 |
TInt DDigitiserPdd::Install() |
|
416 |
{ |
|
417 |
return SetName(&KPddName); |
|
418 |
} |
|
419 |
||
420 |
void DDigitiserPdd::GetCaps(TDes8&) const |
|
421 |
{ |
|
422 |
} |
|
423 |
||
424 |
TInt DDigitiserPdd::Create(DBase*& aChannel, TInt, const TDesC8*, const TVersion&) |
|
425 |
{ |
|
426 |
aChannel=NULL; |
|
427 |
return KErrNone; |
|
428 |
} |
|
429 |
||
430 |
TInt DDigitiserPdd::Validate(TInt, const TDesC8*, const TVersion&) |
|
431 |
{ |
|
432 |
return KErrNotSupported; |
|
433 |
} |
|
434 |
||
435 |
DECLARE_EXTENSION_PDD() |
|
436 |
{ |
|
437 |
return new DDigitiserPdd; |
|
438 |
} |
|
439 |
#endif |