;============================================================================ 
; ETDHCF.inf Installation file (.inf) for Windows 8/8.1/10.
;
; All Rights Reserved, Copyright(C) ELAN Microelectronics Corp. 2003-2019
;============================================================================

[Version]
Signature="$Windows NT$"
Class=HIDClass
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}	; HIDClassGuid
Provider=%VenderName%
CatalogFile=ETDHCF.cat
DriverVer=03/11/2019, 15.4.5.11

[SourceDisksNames]
1=%DiskName%,,

[SourceDisksFiles]
ETDHCF.sys = 1

;----------------------------------------------------------------------------
; Manufacturer Sections
;----------------------------------------------------------------------------

[Manufacturer]
%VenderName%   = ELANMfg, NTamd64, NTamd64.6.2

[ELANMfg.NTamd64]

[ELANMfg.NTamd64.6.2]
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_0608&Col02	; ClickPad for LCFC ideapad 320-14/15/17IKB&520-14IKB
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_0609&Col02	; ClickPad for LCFC ideapad 320-14/15IAP
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_060B&Col02	; ClickPad for LCFC ideapad 320 ABR
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_060C&Col02	; ClickPad for LCFC ideapad 320-14/15AST
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_060F&Col02	; ClickPad for 3nod 120S 14
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_0610&Col02	; ClickPad for Compal V720
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_0611&Col02	; ClickPad for LCFC ideapad 320&520IKBRA
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_0612&Col02	; ClickPad for Compal E43 KBL/SKL
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_0613&Col02	; ClickPad for Compal V530 KBL/SKL
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_0614&Col02	; ClickPad for Compal V330 KBL/SKL
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_0615&Col02	; ClickPad for Compal V330 GML
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_0616&Col02	; ClickPad for Compal V330 AMD
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_0617&Col02	; ClickPad for Wistron V530/V330/E53 (SKL)
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_0618&Col02	; ClickPad for Wistron V530/V330/E53 (KBL)
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_0619&Col02	; ClickPad for Wistron V530/V330/E53 (AMD STR FT4
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_061A&Col02	; ClickPad for Wistron V530/V330/E53 (intel GML)
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_061B&Col02	; ClickPad for LCFC 330-15/17ICN
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_061C&Col02	; ClickPad for LCFC 330-1415IGM
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_061D&Col02	; ClickPad for LCFC 330-1517ICF
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_061E&Col02	; ClickPad for LCFC 330-ARR
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_061F&Col02	; ClickPad for LCFC 330-1517ICH
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_0620&Col02	; ClickPad for Compal Dulu 330C Intel_KBL-R
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_0621&Col02	; ClickPad for Compal Dulu 330C AMD_Stoney
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_0622&Col02	; ClickPad for LCFC 330-14/15/17AST
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_0623&Col02	; ClickPad for Wistron V340/V140/E54
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_0624&Col02	; ClickPad for Compal ELMV3(V340)
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_0625&Col02	; ClickPad for LCFC L340 Intel Whiskey Lake
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_0626&Col02	; ClickPad for LCFC L340 Intel coffee Lake
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_0627&Col02	; ClickPad for LCFC L340 Intel Gemini Lake
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_0628&Col02	; ClickPad for LCFC L340 AMD Picasso platform
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_0629&Col02	; ClickPad for LCFC S140 Intel Whiskey Lake
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_062A&Col02	; ClickPad for LCFC S140 Intel Gemini Lake
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_062B&Col02	; ClickPad for LCFC S140 AMD Stoney platform
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_062C&Col02	; ClickPad for LCFC V140 Intel Gemini Lake
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_062D&Col02	; ClickPad for LCFC V140 Intel Whiskey Lake
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_0631&Col02	; ClickPad for LCFC S145-1415 IKBR
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_0632&Col02	; ClickPad for LCFC S145 AMD Picasso
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_062E&Col02	; ClickPad for Quanta V340 Whiskey Lake U
%ETDHCFDeviceDesc%	= ETDHCF_Inst, HID\VEN_ELAN&DEV_062F&Col02	; ClickPad for Quanta V340 Comet Lake U

;----------------------------------------------------------------------------
; Install Sections
;----------------------------------------------------------------------------

[DestinationDirs]
CopyFiles_Drivers	= 12			; Driver directory

[CopyFiles_Drivers]
ETDHCF.sys,,,0x00000001

;----------------------------------------------------------------------------
[ETDHCF_Inst]
CopyFiles=CopyFiles_Drivers

AddReg=ETDHCF_Addreg

[ETDHCF_Inst.Services]
Include = input.inf
Needs = HID_Raw_Inst.NT.Services
AddService = ETDHCF,,ETDHCF_Service_Inst

[ETDHCF_AddReg.HW]
HKR,,"UpperFilters",0x00010000,"ETDHCF"

[ETDHCF_Inst.HW]
AddReg = ETDHCF_AddReg.HW

;----------------------------------------------------------------------------

[ETDHCF_Addreg]
;HKLM,%ServiceRoot%\Elantech\ETDHCF,InstallDir,%REG_SZ%,"%1%"
HKLM,%ServiceRoot%\Elantech\ETDHCF,DriverVersion,%REG_SZ%,%DriverVersion%
HKLM,%ServiceRoot%\Elantech\ETDHCF,ETDHidI2C_Report_Type,%REG_DWORD%,1		; 0 = Regular, 1 = New Design


;----------------------------------------------------------------------------
; Services Sections
;----------------------------------------------------------------------------

[ETDHCF_Service_Inst]
DisplayName	= %ETDHCF.SVCDESC%
ServiceType   	= 1			; SERVICE_KERNEL_DRIVER
StartType     	= 3			; SERVICE_DEMAND_START
ErrorControl  	= 1			; SERVICE_ERROR_NORMAL
ServiceBinary 	= %12%\ETDHCF.sys 

;----------------------------------------------------------------------------
; User visible strings
;----------------------------------------------------------------------------
[Strings]
ETDHCFDeviceDesc		= "ELAN HID Class Filter Driver"
ETDHCF.SVCDESC			= "ELAN HID Class Filter Service"

Publisher 			= "ELAN Microelectronic Corp."
TargetDir			= "Elantech"
DiskName  			= "ELAN HID Driver Installation Disk"
VenderName			= "ELAN HID Device"
ServiceRoot 			= "System\CurrentControlSet\Control"

; Registry Type
REG_EXPAND_SZ			= 0x00020000 
REG_DWORD			= 0x00010001 
REG_MULTI_SZ			= 0x00010000
REG_BINARY			= 0x00000001
REG_SZ				= 0x00000000

; ELAN Driver Information
DriverDate			= "03/11/2019"
DriverVersion			= "15.4.5.11"
