TouchKit USB for Windows CE .NET installation Guide

Revision	: 2.0.13.8320
OS		: Windows CE .NET (CEPB 4.0/4.1/4.2) 5.0
Release Date	: 11-20-2008
Interface		: PS/2
	
File list:
KBD8042US.dll			- PS2 Touch Screen Driver
eGalaxTouch.exe			- The eGalaxTouch Utility
DrawTest.exe			- The DrawTest Utility
Calbration.exe			- The Calibration Utility
language_e.reg			- The English Language Registry Setting
language_tch.reg		- The Traditional Chinese Language Registry Setting
language_sch.reg		- The Simplified Chinese Language Registry Setting
language_jap.reg		- The Japanese Language Registry Setting
language_kor.reg		- The Korean Language Registry Setting
language_spa.reg		- The Spanish Language Registry Setting
language_ita.reg		- The Italian Language Registry Setting
language_ger.reg		- The German Language Registry Setting
language_fre.reg		- The French Language Registry Setting
language_dut.reg		- The Dutchh Language Registry Setting


1.  Create an directory under c:\ Ex:"c:\CEDB"
    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 eGalaxTouch utility:
   	eGalaxTouch.exe		c:\CEDB\eGalaxTouch.exe         NK  S
   	DrawTest.exe      	c:\CEDB\drawtest.exe         NK  S
   	Calbration.exe      	c:\CEDB\calbration.exe       NK  S   
   	UpdateEEPROM.exe	c:\CEDB\UpdateEEPROM.exe     NK  S  
      
   b)If you want to used PS2 module:
   	Change the "kbdmouse.dll" setting in platform.bib
   	Ex:   	
	;kbdmouse.dll     $(_FLATRELEASEDIR)\Kbd8042US.dll		NK  SH
	kbdmouse.dll     C:\CEDB\Kbd8042US.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	
   		"BeepFrequence"=dword:1F4---------------------->Beep Frequence(x86 only)
   		"BeepTime"=dword:64---------------------------->Beep Times(ms)(x86 only)
   		
   		"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 PS2 module:
   [HKEY_LOCAL_MACHINE\Drivers\PS2AUX]
		"CalInf"=hex:66,00,00,00,66,00,00,00,99,07,00,00,66,00,00,00,99,07,00,00,99,07,00,00,66,00,00,00,99,07,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00		

   c)If you want to used other language for your utility:
	#include "C:\CEDB\language_tch.reg"---------------------->Chose one language you want to use.	
		 
5. ReBuild Platform. 

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.
   TPSX: is the PS/2 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"
   
8. The PS2 driver support X86 CPU.

    
