﻿
1. Copy RTPUSB.dll to a directory (Example:  D:\Your InstallSource).

2. =====================================================================
   Win CE 5.0 and below add the following into project.BIB ( In the parameters tab).
   =====================================================================
(To identify the device by its vendor ID (<VID>) and product ID (<PID>) — as hex values.)

MODULES(<== had exist in project.BIB)
RTPUSB.dll  D:\Your InstallSource\<VID>_<PID>\RTPUSB.dll    NK   SH


FILES(<== had exist in project.BIB)
TPUtility.exe  D:\ Your InstallSource\TPUtility.exe         NK   

=====================================================================
   IF Window CE 6.0 the following into project.BIB ( In the parameters tab).
=====================================================================
(To identify the device by its vendor ID (<VID>) and product ID (<PID>) — as hex values.)

MODULES(<== had exist in project.BIB)
RTPUSB.dll  D:\Your InstallSource\<VID>_<PID>\RTPUSB.dll    NK   SHK


FILES(<== had exist in project.BIB)
TPUtility.exe  D:\ Your InstallSource\TPUtility.exe         NK  

3. =======================================================================
   Modify the registry to identify your device and link it to RTPUSB.DLL. 
   The registry can be modified by adding the relevant information to your project.reg file.
   =======================================================================
vendor ID:0x1BFD product ID:0x1688
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\7165_5768\Default\Default\UTPSTRM]

vendor ID:0x1BFD product ID:0x0001 :
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\7165_1\Default\Default\UTPSTRM]

vendor ID:0x1BFD product ID:0x0006
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\7165_6\Default\Default\UTPSTRM]

vendor ID:0x1BFD product ID:0x0008
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\7165_8\Default\Default\UTPSTRM]

vendor ID:0x1BFD product ID:0x3050
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\7165_12368\Default\Default\UTPSTRM]

vendor ID:0x1BFD product ID:0x1668
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\7165_5736\Default\Default\UTPSTRM]

vendor ID:0x1BFD product ID:0x1568
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\7165_5480\Default\Default\UTPSTRM]

vendor ID:0x1BFD product ID:0x1368
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\7165_4968\Default\Default\UTPSTRM]

vendor ID:0x1BFD product ID:0x1268
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\7165_4712\Default\Default\UTPSTRM]

vendor ID:0x1BFD product ID:0x6968
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\7165_26984\Default\Default\UTPSTRM]

vendor ID:0x1BFD product ID:0x5968
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\7165_22888\Default\Default\UTPSTRM]

vendor ID:0x1BFD product ID:0x1968
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\7165_6504\Default\Default\UTPSTRM]

vendor ID:0x1BFD product ID:0x2968
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\7165_10600\Default\Default\UTPSTRM]

vendor ID:0x1BFD product ID:0x8008
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\7165_32776\Default\Default\UTPSTRM]

vendor ID:0x1BFD product ID:0x0005
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\7165_5\Default\Default\UTPSTRM]

vendor ID:0x1BFD product ID:0x8888
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\7165_34952\Default\Default\UTPSTRM]

To identify the device by its vendor ID (<VID>) and product ID (<PID>) — as decimal values.

[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\<VID>_<PID>\Default\Default\UTPSTRM] 
   "DLL"="RTPUSB.DLL"
   "Prefix"="UTP"
   "Rotation"=dword:0
   "ReportMode"=dword:0
   "HIDMode"=dword:2
   "EnableRight"=dword:1
 
Example :
vendor ID:0x1BFD product ID:0x1688
Add the following into project.reg (In the parameters tab)

[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\7165_5768\Default\Default\UTPSTRM]
   "DLL"="RTPUSB.DLL"
   "Prefix"="UTP"
   "Rotation"=dword:0
   "ReportMode"=dword:0
   "HIDMode"=dword:2
   "EnableRight"=dword:1

**Notes:
a. Dll -- system uses and do'nt change.
b. Prefix --  Touch panel name. Don't change.

c. Rotation -- This parameter descripts the screen direction.
               0 : 0
               1 : 90
               2 : 180
               3 : 270

d. ReportMode --
                0 : Drawing mode (The device reports all points that touch controller senses so you can draw easily.)
                1 : Button mode (You can make device report only two points; when you first time to touch down and lift up as a button.)
                3 : Disable touch (Disable all touch events reported by controller.)

e. HIDMode -- 
                2 : Mouse HID (Set touch panel to work as a legacy mouse.)
                3 : Digitizer (Set touch panel to work as a pen digitizer. From Vista and Windows 7, 
                    Microsoft begins to support Digitizer HID, a pen digitizer supports Tablet PC Input and certain pen gesture). 

f. EnableRight -- If you touch down without moving for a while, the function will generate right click event automatically.
                  You can enable or disable the function by setting this parameter.
                  0 : Disable
                  1 : Enable

4. TPUTility.exe is an tool to use it to do free draw test and 9 points calibration. 
 
