;=====================================================================================================================
;
;  DO NOT EDIT THIS FILE,IT IS VERY IMPORTANT!!
;
;  LedUsb.INF
;
;  Version 3.10
;
;  INF file for  Touchscreen USB interface driver.
;
;
;  Copyright (c) 2007,Electronics Technology Co., Ltd. all rights reserved. 
;
;=====================================================================================================================

[Version]
Signature="$WINDOWS NT$"
Class=HIDClass
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}

Provider=%LedMfg%
DriverVer=05/16/2010,3.10.4300.1
;CatalogFile=delta.cat

[SourceDisksNames]
1=%DiskId%

[SourceDisksFiles]
LedUsb.Sys   = 1

[DestinationDirs]
LedUsbDrvCopy.NT              = 12                    	;  LDID_IOS

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

[Manufacturer]
%LedMfg%=LedTouchMfg

[LedTouchMfg]
%LedUSB_Compatible_Rev1%=LedTouchUsb.Install, USB\VID_D6E6&PID_0001

[LedTouchUsb.Install.NT]
Include=input.inf
Needs=HID_Inst.NT
Copyfiles = LedUsbDrvCopy.NT
CopyINF   = LedUsb.inf

[LedUsbDrvCopy.NT]
LedUsb.Sys

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

[LedTouchUsb.Install.AddReg.NT]
HKR,,"LowerFilters",0x00010000,"LedUsb"

HKR,,"a1",    %REG_DWORD%, 1000
HKR,,"b1",    %REG_DWORD%, 1000
HKR,,"c1",    %REG_DWORD%, 1000
HKR,,"a2",    %REG_DWORD%, 1000
HKR,,"b2",    %REG_DWORD%, 1000
HKR,,"c2",    %REG_DWORD%, 1000
HKR,,"delta", %REG_DWORD%, 20
HKR,,"calibrated", %REG_DWORD%, 0

HKR,,"XMin",   %REG_DWORD%, 0
HKR,,"XRange", %REG_DWORD%, 0xFFFF
HKR,,"YMin",   %REG_DWORD%, 0x0
HKR,,"YRange", %REG_DWORD%, 0xFFFF

HKLM, %ESPORunRegPath%, ESPO, %REG_SZ%, "%11%\RButton.exe"
HKLM, %ESPORunRegPath%, TSD, %REG_SZ%, "%11%\Sound.exe"

HKLM, %ESPORootRegPath%, BeepFreq, %REG_DWORD%, 0x03e8
HKLM, %ESPORootRegPath%, BeepMode, %REG_DWORD%, 0x1
HKLM, %ESPORootRegPath%, BeepTime, %REG_DWORD%, 0x0020
HKLM, %ESPORootRegPath%, ButtoMode2, %REG_DWORD%, 0x01
HKLM, %ESPORootRegPath%, ButtoMode3, %REG_DWORD%, 0x03
HKLM, %ESPORootRegPath%, ButtonMode, %REG_DWORD%, 0x0
HKLM, %ESPORootRegPath%, MouseMode, %REG_DWORD%, 0x01
HKLM, %ESPORootRegPath%, Range, %REG_DWORD%, 0x19


HKCU,"Control Panel\Mouse",DoubleClickHeight,%REG_SZ%,"25"
HKCU,"Control Panel\Mouse",DoubleClickWidth,%REG_SZ%,"25"
HKCU,"Control Panel\Mouse",DoubleClickSpeed,%REG_SZ%,"800"

[LedTouchUsb.Install.NT.Services]
Include=input.inf
Needs=HID_Inst.NT.Services
AddService = LedUsb,,LedUsb_Driver_Service_Inst
include    = msmouse.inf
needs      = MouClass.Services

[LedUsb_Driver_Service_Inst]
DisplayName     = %LedServiceDesc%
ServiceType     = %SERVICE_KERNEL_DRIVER%
StartType       = %SERVICE_DEMAND_START%
ErrorControl    = %SERVICE_ERROR_IGNORE%
ServiceBinary   = %12%\LedUsb.sys
LoadOrderGroup  = extended base






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

[Strings]
DiskId 			= " Touchscreen driver Disk"
DRVDESC			= "Touch HID Drivers"
LedServiceDesc 		= "Touch touchscreen USB filter driver"
LedMfg                  = "Touch Electronics Technology Co., Ltd."
LedUSB_Compatible_Rev1  = "Touch Touchscreen USB Compatible Rev 1"
ESPORootRegPath =  "System\CurrentControlSet\Services\LedUsb\Parameters"
ESPORunRegPath  = "Software\Microsoft\Windows\CurrentVersion\Run"



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) 2007,TSD Electronics Technology Co., Ltd. all rights reserved. 
;                                	(http://www.tsd-tech.com)
;				     	   All rights reserved.
;
;==================================================================================================================
