;*********************************************************************************************
;  			WARNING:DO NOT EDIT THIS FILE!IT IS IMPORTANT!				
;			----------------------------------------------
; 	 ConTouchS1.Inf
;		Contouch serial driver INF
;
; 	 Version 3.0.0
;
;	 Copyright (c)2007,TSD Electronics Technology Co., Ltd. All rights reserved.
;
;*********************************************************************************************

[Version]
Signature="$Windows NT$"
ClassGUID={4D36E96F-E325-11CE-BFC1-08002BE10318}
Class=Mouse
Provider=%CON%
DriverVer=03/21/2008,3.0.0.0		

[SourceDisksNames]
1=%DiskId%

[SourceDisksFiles]
ConTouchS1.sys = 1
ConLowS1.sys  = 1


;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
;	Destination directory for file copy
;

[DestinationDirs]
DefaultDestDir   		= 12
Low.Drv.CopyFiles		= 12                 ; driver
Touch.Drv.CopyFiles		= 12		     ; 

;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
;
;	Driver information
;
;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

[Manufacturer]
%CON%   = Con2K.Mfg

[Con2K.Mfg]
%CON.DeviceDesc0%= ConS1_Install,CON0001


;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
;
;		   installation section
;
;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

[ConS1_Install]
; Copy the driver over
CopyFiles=Low.Drv.CopyFiles,Touch.Drv.CopyFiles
AddReg=Drv.AddReg

[ConS1_Install.Services]

AddService = ConLowS1,0x00000002,  Low_Drv_Service_Inst
AddService = ConTouchS1, , Touch_Drv_Service_Inst, Drv_EventLog_Inst

;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
;
;		   File sections
;
;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

[Low.Drv.CopyFiles]
ConLowS1.sys

[Touch.Drv.CopyFiles]
ConTouchS1.sys

;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
;
;		   Register section
;
;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

[Drv.AddReg]

HKLM,System\Currentcontrolset\Services\ConTouchS1\Parameters,	      Port,	0x00010001, 2
HKLM,System\Currentcontrolset\Services\ConTouchS1\Parameters,	    MouseMode,	0x00010001, 3
HKLM,System\Currentcontrolset\Services\ConTouchS1\Parameters,	    DragDelay,	0x00010001, 2
HKLM,System\Currentcontrolset\Services\ConTouchS1\Parameters,	    BeepMode,	0x00010001, 2
HKLM,System\Currentcontrolset\Services\ConTouchS1\Parameters,	    BeepFreq,	0x00010001, 0x3e8
HKLM,System\Currentcontrolset\Services\ConTouchS1\Parameters,	    BeepTime,	0x00010001, 0x20
HKLM,System\Currentcontrolset\Services\ConTouchS1\Parameters,	      XLow,	0x00010001, 0
HKLM,System\Currentcontrolset\Services\ConTouchS1\Parameters,	      YLow,	0x00010001, 0
HKLM,System\Currentcontrolset\Services\ConTouchS1\Parameters,	     XHigh,	0x00010001, 0x1000
HKLM,System\Currentcontrolset\Services\ConTouchS1\Parameters,	     YHigh,	0x00010001, 0x1000
HKLM,System\Currentcontrolset\Services\ConTouchS1\Parameters,	DblClickRegion,	0x00010001, 0x19
HKLM,System\Currentcontrolset\Services\ConTouchS1\Parameters,	SwapXY,		0x00010001, 0

HKCU,"Control Panel\Mouse",DoubleClickHeight,0x00000000,"25"
HKCU,"Control Panel\Mouse",DoubleClickWidth,0x00000000,"25"
HKCU,"Control Panel\Mouse",DoubleClickSpeed,0x00000000,"800"


;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
;
;		   Service Installation
;
;+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

[Low_Drv_Service_Inst]
DisplayName    			= %ConLowS1.SvcDesc%
ServiceType    			= 1                  ; SERVICE_KERNEL_DRIVER
StartType      			= 1                  ; SERVICE_SYSTEM_START
ErrorControl   			= 1                  ; SERVICE_ERROR_NORMAL
LoadOrderGroup 			= Pointer Port
ServiceBinary  			= %12%\ConLowS1.sys

[Touch_Drv_Service_Inst]
DisplayName			= %ConTouchS1.SvcDesc%
ServiceType			= 1                  ; SERVICE_KERNEL_DRIVER
StartType			= 2                  ; SERVICE_AUTO_START
ErrorControl			= 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary			= %12%\ConTouchS1.sys

[Drv_EventLog_Inst]
AddReg = Drv_EventLog_AddReg

[Drv_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%SystemRoot%\System32\IoLogMsg.dll;%SystemRoot%\System32\drivers\ConTouchS1.sys"
HKR,,TypesSupported,0x00010001,7


[Strings]


CON.DeviceDesc0 = "TSD Systems"
CON = "TSD Electronics Technology Co., Ltd."

ConTouchS1.SvcDesc	= "TSD driver authorized"
ConLowS1.SvcDesc	= "TSD driver Low authorized"
DiskId = "ConDrv100S1_2KXP driver Setup Disk "

;*********************************************************************************************
;
;	 	 Copyright (c) 2007, TSD Electronics Technology Co., Ltd. All rights reserved.	
;					
;*********************************************************************************************
