PenMount 6000 USB Driver for Windows CE.Net(4.1,4.2) Stylus Version 1.1
For CE.NET Developers: 

1. Copy tchmdd.dll,PmTchUsb.dll to the build directory, normally this would be the default build directory, Wince420\Public\TargetName\RelDir\X86_Release. Where ˇ§TargetNameˇ¨ is the name you have chosen for your target system in Microsoft Windows CE Platform Builder. 

2. Double click Platform.reg on to open the Platform.reg file. Search for 

; @CESYSGEN IF CE_MODULES_POINTER


3. Copy and paste the following lines before 
the line found in of your Platform.reg file: in step 2.

[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH]
	"DriverName"="tchmdd.dll"
	"MaxCalError"=dword:10
	"CalibrationData"="512,512 0,0 0,1023 1023,1023 1023,0"
  
[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\5345_24576\Default\3_1_2\PenMount_USB_HID_Class_Driver]
   "Dll"="PmTchUsb.dll"
   "Prefix"="UPM"
   "Index"=dword:6

[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\5345_24576\Default\3\PenMount_USB_HID_Class_Driver]
   "Dll"="PmTchUsb.dll"
   "Prefix"="UPM"
   "Index"=dword:6 

Comment out as shown or delete the following 4 lines.

;IF BSP_NOTOUCH !
;[HKEY_LOCAL_MACHINE\HARDWARE\DEVICEMAP\TOUCH]
;    "DriverName"="keybddr.dll"
;ENDIF BSP_NOTOUCH !

4. Edit the PROJECT.BIB in the Parameter View of MS WinCE Platform Builder 4.x.
   Add these lines in MODULES:
    
    PmTchUsb.dll $(_FLATRELEASEDIR)\PmTchUsb.dll       NK  SH
   	tchmdd.dll    $(_FLATRELEASEDIR)\tchmdd.dll       NK  SH
  

5. Build your Platform(use "Build Platform", not "Rebuild"), and boot it. Execute Calibration and DrawDemo to test PenMount USB.


6. If you want to keep the calibration data after WINCE reboot, please write "WINCE REGISTRY" to FLASH in your machine.


Copyright (c) By Dialogue Technology Corp. All rights reserved. 
2006/8/31

