;=====================================================================================================================
;
;  DO NOT EDIT THIS FILE,IT IS VERY IMPORTANT!!
;
;  GenUsb.INF
;
;  Version 2.1
;
;  INF file for GeneralTouch Touchscreen USB interface driver.
;
;
;  Copyright (c) 1998-2004, General Touch Technology Co., Ltd. all rights reserved. 
;
;=====================================================================================================================

[Version]
Signature="$WINDOWS NT$"
Class=HIDClass
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider=%GenTouch%
LayoutFile=Layout.inf, Layout1.inf, Layout2.inf
CatalogFile.ntx86=GenUsbXp.cat
DriverVer=02/23/2004,2.10.1781

[SourceDisksNames]
19="GeneralTouch Touchscreen driver Disk",,

[SourceDisksFiles]
GenUsb.Sys   = 19,,18736
GenTouch.Cpl = 19,,53248
GenCalib.Exe = 19,,32768
UnInst.Exe   = 19,,40960
ReadMe.Txt   = 19,,7947
Null.cur     = 19,,326
GenUsb.Hlp   = 19,,7654

[DestinationDirs]
DefaultDestDir              = 12                    	;  LDID_IOS

GenUsbDrvCopy.NT            = 10,System32\drivers   	;  LDID_DRIVERS
GenCPLCopy.NT               = 11                    	;  LDID_SYS
GenSetupCopy.NT             = 10,%GenUSBSetupAppDir%   	;  Windows\GenUSB
GenHlpCopy.NT	 	    = 18		     	;  context sensitive help files
GenUsbCurCopy.NT	    = 10,Cursors		;  Windows\Cursors

;---------------------------------------------------------------------------------------------------
;
;   					Manufacturer Section
;
;---------------------------------------------------------------------------------------------------

[Manufacturer]
%GenMfg%  = GenTouchMfg               ; General Touch Technology Co., Ltd.

[GenTouchMfg]
%GenUSB_PID_0001%=GenTouchUsb.Install, USB\VID_0DFC&PID_0001

[ControlFlags]
; All PnP devices should be excluded from manual AddDevice Applet list
ExCludeFromSelect=*

;--------------------------------------------------------------------------------------------------------------------------
;
;                           Windows 2000/XP GeneralTouch USB Install Sections
;
;--------------------------------------------------------------------------------------------------------------------------

[GenTouchUsb.Install.NT]
DriverVer=02/23/2004,2.10.1781
Include=input.inf
Needs=HID_Inst.NT
Copyfiles = GenUsbDrvCopy.NT,GenCPLCopy.NT,GenSetupCopy.NT,GenHlpCopy.NT,GenUsbCurCopy.NT
AddReg = GenUsb.Install.AddReg.NT
Include=msmouse.inf
Needs=HIDMouse

[GenTouchUsb.Install.NT.HW]
AddReg = GenTouchUsb.Install.AddReg.NT

[GenTouchUsb.Install.AddReg.NT]
HKR,,"LowerFilters",0x00010000,"GenUsb"
HKR,,"XLow",0x00010001, 0
HKR,,"YLow",0x00010001, 0
HKR,,"XHigh",0x00010001, 0x1000
HKR,,"YHigh",0x00010001, 0x1000
HKR,,"SwapXY",0x00010001, 0

[GenUsb.Install.AddReg.NT]

;
;	Add help path for our help file to the registry.
;
HKLM, %HelpPath%, GenUsb.hlp, %REG_SZ%, "%18%"

;
;	Add GenTouch to RunOnce key.
;
HKLM,%GenRunOnceRegPath%, GenTouch, %REG_SZ%, "rundll32.exe %11%\gentouch.cpl,AutoCalibration"

HKLM,%GenUninstallRegPath%,"DisplayName",,%GenUSBUninstallDescrpt%
HKLM,%GenUninstallRegPath%,"UninstallString",,"%10%\%GenUSBSetupAppDir%\UnInst.Exe"
HKCU,"Control Panel\Mouse",DoubleClickHeight,%REG_SZ%,"25"
HKCU,"Control Panel\Mouse",DoubleClickWidth,%REG_SZ%,"25"
HKCU,"Control Panel\Mouse",DoubleClickSpeed,%REG_SZ%,"800"
HKLM,SYSTEM\CurrentControlSet\Services\Mouclass\Parameters, ConnectMultiplePorts, %REG_DWORD%, 0x00
HKLM, System\Currentcontrolset\Services\%USBService%\Parameters, MouseMode, 0x00010001, 3
HKLM, System\Currentcontrolset\Services\%USBService%\Parameters, ButtonMode, 0x00010001, 0
HKLM, System\Currentcontrolset\Services\%USBService%\Parameters, DragDelay, 0x00010001, 2
HKLM, System\Currentcontrolset\Services\%USBService%\Parameters, BeepMode, 0x00010001, 2
HKLM, System\Currentcontrolset\Services\%USBService%\Parameters, BeepFreq, 0x00010001, 0x3e8
HKLM, System\Currentcontrolset\Services\%USBService%\Parameters, BeepTime, 0x00010001, 0x20
HKLM, System\Currentcontrolset\Services\%USBService%\Parameters, DblClickRegion, 0x00010001, 0x19
HKLM,SOFTWARE\Microsoft\Windows\CurrentVersion\Control Panel\Cursors\Schemes,GeneralTouch,%REG_SZ%,"%10%\cursors\null.cur,,%10%\cursors\null.cur,%10%\cursors\null.cur,%10%\cursors\null.cur,%10%\cursors\null.cur,,%10%\cursors\null.cur,%10%\cursors\null.cur,%10%\cursors\null.cur,%10%\cursors\null.cur,%10%\cursors\null.cur,%10%\cursors\null.cur,%10%\cursors\null.cur"

[GenUsbDrvCopy.NT]
GenUsb.Sys

[GenUsbCurCopy.NT]
Null.cur

[GenCPLCopy.NT]
GenTouch.Cpl
GenCalib.Exe

[GenSetupCopy.NT]
UnInst.exe
ReadMe.txt

[GenHlpCopy.NT]
GenUsb.hlp

[GenTouchUsb.Install.NT.Services]
Include=input.inf
Needs=HID_Inst.NT.Services
AddService = GenUsb,,GenUsb_Driver_Service_Inst

[GenUsb_Driver_Service_Inst]
DisplayName     = "GeneralTouch touchscreen USB filter driver"
ServiceType     = %SERVICE_KERNEL_DRIVER%
StartType       = %SERVICE_DEMAND_START%
ErrorControl    = %SERVICE_ERROR_IGNORE%
ServiceBinary   = %12%\GenUsb.sys
LoadOrderGroup  = extended base

;----------------------------------------------------------------------------------------------------
;
;   					String Section
;
;----------------------------------------------------------------------------------------------------

[Strings]
ClassNameNT             = "Mice and other pointing devices"

USBService		= "GenUsb"
GenUSBSetupAppDir       = "GenUsb"
GenUninstallRegPath     = "Software\Microsoft\Windows\CurrentVersion\Uninstall\GenUSBTouchscreen"
GenRunOnceRegPath       = "Software\Microsoft\Windows\CurrentVersion\RunOnce"
GenRunOnceSetupRegPath  = "Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup"
GenUSBUninstallDescrpt  = "GeneralTouch Touchscreen USB interface for 2000/XP"
HelpPath		= "Software\Microsoft\Windows\Help"

GenTouch                = "General Touch Technology Co., Ltd."
GenMfg                  = "General Touch Technology Co., Ltd."
GenUSB_PID_0001         = "GeneralTouch Touchscreen USB Interface 4001u Rev 1"

SPSVCINST_TAGTOFRONT    = 0x00000001
SPSVCINST_ASSOCSERVICE  = 0x00000002
SERVICE_KERNEL_DRIVER   = 1
SERVICE_BOOT_START      = 0
SERVICE_SYSTEM_START    = 1
SERVICE_AUTO_START      = 2
SERVICE_DEMAND_START    = 3
SERVICE_ERROR_NORMAL    = 1
SERVICE_ERROR_IGNORE    = 0
REG_EXPAND_SZ           = 0x00020000
REG_DWORD               = 0x00010001
REG_SZ                  = 0x00000000

;==================================================================================================================
;
;
;  		   Copyright (c) 1998-2004, General Touch Technology Co., Ltd. all rights reserved. 
;
;                                	(http://www.GeneralTouch.com)
;				     	   All rights reserved.
;
;==================================================================================================================
