Salt TouchKit USB for Windows CE .NET installation Guide

Revision	: 2.03
OS		: Windows CE .NET (CEPB 4.0/4.1/4.2)
Platform	: X86
Release Date	: 09-19-2003
	
File list:
USBTouch.dll			- USB Touch Screen Driver
TouchKit.DLL			- RS232 Touch Screen Driver
TouchKit.exe			- The TouchKit Utility
DrawTest.exe			- The DrawTest Utility
Calbration.exe			- The Calibration Utility


Notes:
     Select the UHCI or OHCI USB Host Controller driver into your platform 
     which supported by the target device. And check the USB mouse can go 
     well at the same port.
     Select the "Mouse" into your platform. This can find in:
     "Catalog\Core OS\Display based devices\Shell and User Interface\Mouse"	

1.  Open the directory within your platform directory Ex:"$(_WINCEROOT)\PUBLIC\TouchKit\RelDir\CEPC_X86Release"
    And Copy All files to this directory.
    
2.  Launch platform builder and open your platform workspace

3. Edit the PROJECT.BIB in the Parameter View of Platform Builder.
   Add these lines in MODULES:
      
   a)The TouchKit utility:
   	TouchKit.exe		$(_FLATRELEASEDIR)\TouchKit.exe         NK  S
   	DrawTest.exe      	$(_FLATRELEASEDIR)\drawtest.exe         NK  S
   	Calbration.exe      	$(_FLATRELEASEDIR)\calbration.exe       NK  S   
   	UpdateEEPROM.exe	$(_FLATRELEASEDIR)\calbration.exe       NK  S  
   a)If you want to used USB module:
   	USBTouch.dll      $(_FLATRELEASEDIR)\usbtouch.dll         NK  SH
   b)If you want to used RS232 module:
	TouchKit.dll      $(_FLATRELEASEDIR)\touchkit.dll         NK  SH
	
4. Edit the PROJECT.REG in the Parameter View of Platform Builder.
   Add these lines for registry.
   		
   a)Add the registry setting for all module
   	[HKEY_LOCAL_MACHINE\Drivers\TouchKit]
   		"RBSIZE"=dword:800
   		"RBTIME"=dword:989680
   		"FLAGS"=dword:1-------------------------------->set 0x1 sofware filter enable
   							       	set 0x3000 update eeprom funtion enable	
   		"ZFilterThreshold"=dword:800
   		"ZFilterBound"=dword:00100001
   		"SoundType"=dword:0---------------------------->This is the default sound type.
   								SoundType = 0 is no sound
   								SoundType = 1 is Beep in touch down.
   								SoundType = 2 is Beep in lift off.						
   		
   		
   b)If you want to used USB module:
	[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\14371_1\0_0_0\255_255_255\USB_TOUCH_Driver]
		"DLL"="USBTouch.dll"
	[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\14371_2\0_0_0\255_255_255\USB_TOUCH_Driver]
		"DLL"="USBTouch.dll"
	[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\4660_1\0_0_0\255_255_255\USB_TOUCH_Driver]
		"DLL"="USBTouch.dll"
	[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\3823_1\0_0_0\255_255_255\USB_TOUCH_Driver]
		"DLL"="USBTouch.dll"
	[HKEY_LOCAL_MACHINE\Drivers\USB\LoadClients\3823_2\0_0_0\255_255_255\USB_TOUCH_Driver]
		"DLL"="USBTouch.dll" 
   c)If you want to used RS232 module 1:
   	[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\TouchKit1]
   		"Dll"="TouchKit.dll"
   		"Order"=dword:00000001
   		"Prefix"="TKT"
   		"Index"=dword:00000001
   		"Context"=dword:1;-------------------------------->This is the COM Port index which you used. 
     If you want to used RS232 module 2:
   	[HKEY_LOCAL_MACHINE\Drivers\BuiltIn\TouchKit2]
   		"Dll"="TouchKit.dll"
   		"Order"=dword:00000001
   		"Prefix"="TKT"
   		"Index"=dword:00000002
   		"Context"=dword:2;-------------------------------->This is the COM Port index which you used.
   		 
5. Build Platform(use "Build Platform", not "Rebuild"), and boot it. 

6. You can used the TouchKit.exe to do the calibration and draw test.
   Befor you do the calibration or drawtest, you must select the module.
   TUBX: is the USB module. 
   TKTX: is the RS232 module.
   

7. If you want to emulate the mouse right button. You can touch the panel and don't move for two or three seconds,
   the last time touch will be emulated the mouse right button.
   You can change the waitting time and the stop size in registry value "RBTIME" and "RBVALUE"

    


