;=====================================================================================================================
;
;  DO NOT EDIT THIS FILE,IT IS VERY IMPORTANT!!
;
;  GenUsb.INF
;
;  Version 1.23
;
;  INF file for GeneralTouch Touchscreen USB interface driver.
;
;
;  Copyright (c) 1998-2001, 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
DriverVer=03/01/2004,1.23.43.1

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

[SourceDisksFiles]
GenUsb.Inf   = 19,,9500
GenUsb.Sys   = 19,,18736
GenTouch.Cpl = 19,,53248
GenCalib.Exe = 19,,32768
Setup.Exe    = 19,,81920
UnInst.Exe   = 19,,40960
ReadMe.Txt   = 19,,7947
GenUsb.Hlp   = 19,,7654
GenHelp.Chm  = 19,,13725

[DestinationDirs]
DefaultDestDir              = 12                    	;  LDID_IOS

GenUsbDrvCopy               = 10,System32\drivers   	;  LDID_DRIVERS
GenCPLCopy                  = 11                    	;  LDID_SYS
GenSetupCopy                = 10,%GenUSBSetupAppDir%   	;  Windows\GenUSB
GenInfCopy                  = 10,INF                	;  Windows\INF
GenHlpCopy	 	    = 18		     	;  context sensitive help files

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

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

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

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

;---------------------------------------------------------------------------------------------------------------------------
;
;   			  Windows 98 GeneralTouch USB Install Sections
;
;---------------------------------------------------------------------------------------------------------------------------

[GenTouchUsb.Install]
CopyFiles=GenUsbDrvCopy,GenCPLCopy,GenSetupCopy,GenInfCopy,GenHlpCopy
AddReg=GenTouchUsb.AddReg,GenTouchUsb_Absolute.AddReg
PerUserInstall = msmouse.pui

[GenUsbDrvCopy]
hidclass.sys
hidusb.sys
hidparse.sys
GenUsb.Sys

[GenCPLCopy]
GenTouch.Cpl
GenCalib.Exe

[GenSetupCopy]
UnInst.exe
Setup.exe
ReadMe.txt
GenHelp.Chm

[GenInfCopy]
GenUsb.inf

[GenHlpCopy]
GenUsb.hlp

[GenTouchUsb.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,"GenUsb.Sys,HidUsb.Sys"

[GenTouchUsb_Absolute.AddReg]

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

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"

[GenUsbPerUser]
AddReg = GenTouchUsb_Absolute.AddReg

[msmouse.pui]
GUID = "GenUsbPerUser"
DisplayName = %PUI_DESC_MSMOUSE%
Version = %PUI_VERSION%
IsInstalled = 1
StubPath = "rundll.exe %11%\setupx.dll,InstallHinfSection GenUsbPerUser 64 %17%\GenUsb.inf"

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

[GenTouchUsb.Install.NT]
DriverVer=03/01/2004,1.23.43.1

Include=input.inf
Needs=HID_Inst.NT
Copyfiles = GenUsbDrvCopy.NT,GenCPLCopy.NT,GenSetupCopy.NT,GenInfCopy.NT,GenHlpCopy.NT
AddReg = GenUsb.Install.AddReg.NT

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

[GenTouchUsb.Install.AddReg.NT]
HKR,,"LowerFilters",0x00010000,"GenUsb"

[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

[GenUsbDrvCopy.NT]
;hidclass.sys
;hidparse.sys
;hidusb.sys
GenUsb.Sys

[GenCPLCopy.NT]
GenTouch.Cpl
GenCalib.Exe

[GenSetupCopy.NT]
UnInst.exe
Setup.exe
ReadMe.txt
GenHelp.Chm

[GenInfCopy.NT]
GenUsb.inf

[GenHlpCopy.NT]
GenUsb.hlp

[GenTouchUsb.Install.NT.Services]
AddService = HidUsb,%SPSVCINST_ASSOCSERVICE%,HID_Service_Inst
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

[HID_Service_Inst]
DisplayName    = "Usb HID_compliant device mini driver"
ServiceType    = %SERVICE_KERNEL_DRIVER%
StartType      = %SERVICE_AUTO_START%
ErrorControl   = %SERVICE_ERROR_IGNORE%
ServiceBinary  = %12%\hidusb.sys
LoadOrderGroup = extended base

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

[Strings]
PUI_VERSION             = "4,10,1,1"
PUI_DESC_MSMOUSE        = "GeneralTouch USB Touchscreen PUI"

ClassNameNT             = "Mice and other pointing devices"
ClassName98             = "Touchmonitor"
NoMouse98               = "(No mouse)"

GenUSBSetupAppDir       = "GenUsb"
GenUninstallRegPath     = "Software\Microsoft\Windows\CurrentVersion\Uninstall\GenUSBTouchscreen"
GenRunOnceRegPath       = "Software\Microsoft\Windows\CurrentVersion\RunOnce"
GenRunOnceSetupRegPath  = "Software\Microsoft\Windows\CurrentVersion\RunOnce\Setup"
GenRootRegPath98        = "System\CurrentControlSet\Services\Class\GenTouchscreen\Parameters"
GenRootRegPathNT        = "System\CurrentControlSet\Services\GenTouchscreen\Parameters"
GenUSBUninstallDescrpt  = "GeneralTouch Touchscreen USB interface"
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"
GenUSB_PID_0002         = "GeneralTouch Touchscreen USB Interface 4001u Rev 2"

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-2001, General Touch Technology Co., Ltd. all rights reserved. 
;                                	(http://www.GeneralTouch.com)
;				     	   All rights reserved.
;
;==================================================================================================================
