Update contrib.
1 // Copyright (c) 2008-2009 Nokia Corporation and/or its subsidiary(-ies).
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".
8 // Initial Contributors:
9 // Nokia Corporation - initial contribution.
14 // e32test\digitiser\d_ldddigitisertest.h
18 #if !defined(__DLDDDIGITISERTEST_H__)
19 #define __DLDDDIGITISERTEST_H__
22 #ifndef __KERNEL_MODE__
26 _LIT(KLddName,"D_LDDDIGITISERTEST.LDD");
28 class RLddDigitiserTest : public RBusLogicalChannel
36 EGETREGISTEREDDEVICENUMBER,
42 EGET_EPOINTERMAXPROXIMITY,
43 ESET_EPOINTERMAXPROXIMITY,
45 EGET_EPOINTER3DTHETASUPPORTED,
46 ESET_EPOINTER3DTHETASUPPORTED,
48 EGET_EPOINTER3DPHISUPPORTED,
49 ESET_EPOINTER3DPHISUPPORTED,
51 EGET_EPOINTER3DROTATIONSUPPORTED,
52 ESET_EPOINTER3DROTATIONSUPPORTED,
54 EGET_EPOINTER3DPRESSURESUPPORTED,
55 ESET_EPOINTER3DPRESSURESUPPORTED,
57 EGET_EPOINTER3DPROXIMITYSTEP,
58 ESET_EPOINTER3DPROXIMITYSTEP,
60 EGET_EPOINTER3DMAXPOINTERS,
61 ESET_EPOINTER3DMAXPOINTERS,
63 EGET_EPOINTER3DNUMBEROFPOINTERS,
64 ESET_EPOINTER3DNUMBEROFPOINTERS,
66 EGET_EPOINTER3DMAXPRESSURE,
67 ESET_EPOINTER3DMAXPRESSURE,
69 EGET_EPOINTER3DPRESSURESTEP,
70 ESET_EPOINTER3DPRESSURESTEP
75 inline TInt registerHalHandler();
76 inline TInt removeHalHandler();
77 inline TInt getRegisteredDeviceNumber();
78 inline TInt initialiseHalData();
80 inline TInt getPointer3D();
81 inline TInt setPointer3D(TUint aPointer3D);
83 inline TInt getPointer3DMaxProximity();
84 inline TInt setPointer3DMaxProximity(TUint aPointer3DMaxProximity);
86 inline TInt getPointer3DThetaSupported();
87 inline TInt setPointer3DThetaSupported(TUint aPointer3DThetaSupported);
89 inline TInt getPointer3DPhiSupported();
90 inline TInt setPointer3DPhiSupported(TUint aPointer3DPhiSupported);
92 inline TInt getPointer3DRotationSupported();
93 inline TInt setPointer3DRotationSupported(TUint aPointer3DRotationSupported);
95 inline TInt getPointer3DPressureSupported();
96 inline TInt setPointer3DPressureSupported(TUint aPointer3DPressureSupported);
98 inline TInt getPointer3DProximityStep();
99 inline TInt setPointer3DProximityStep(TUint aPointer3DProximityStep);
101 inline TInt getPointerMaxPointers();
102 inline TInt setPointerMaxPointers(TUint aPointerMaxPointers);
104 inline TInt getPointerNumberOfPointers();
105 inline TInt setPointerNumberOfPointers(TUint aPointerNumberOfPointers);
107 inline TInt getPointer3DMaxPressure();
108 inline TInt setPointer3DMaxPressure(TUint aPointer3DMaxPressure);
110 inline TInt getPointer3DPressureStep();
111 inline TInt setPointer3DPressureStep(TUint aPointer3DPressureStep);
114 #include "d_lddDigitisertest.inl"
115 #endif //__DLDDDIGITISERTEST_H__