; AlpHIDI2C.INF
; Copyright (C) 2015-2017 Alps Electric Co., Ltd.

[Version]
Signature="$WINDOWS NT$"
Class=HIDClass
ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider=%Manufacturer%
DriverVer=04/06/2017,1.0.0.13
CatalogFile=ApHIDI2C.cat

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

[SourceDisksNames]
1 = %DiskId1%,,,""
3426 = windows cd

[SourceDisksFiles]
ApHIDI2C.sys = 1,,
hidkmdf.sys = 3426

[DestinationDirs]
DefaultDestDir = 12

;[ControlFlags]
;ExcludeFromSelect=*

;=============================================================== 
; Drivers
;=============================================================== 
[Manufacturer]
%Manufacturer%=ApHIDI2C, NTamd64.6.1, NTamd64.6.2

;=============================================================== 
;For Windows 7
;=============================================================== 
[ApHIDI2C.NTamd64.6.1]
%ApHIDI2C.DeviceDesc% = ApHIDI2C, ACPI\AUI0000
%ApHIDI2C.DeviceDesc% = ApHIDI2C, ACPI\DLL079F
%ApHIDI2C.DeviceDesc% = ApHIDI2C, ACPI\DLL07F3
%ApHIDI2C.DeviceDesc% = ApHIDI2C, ACPI\DLL07A0
%ApHIDI2C.DeviceDesc% = ApHIDI2C, ACPI\DLL07A6
%ApHIDI2C.DeviceDesc% = ApHIDI2C, ACPI\DLL07A7
%ApHIDI2C.DeviceDesc% = ApHIDI2C, ACPI\DLL07D0
%ApHIDI2C.DeviceDesc% = ApHIDI2C, ACPI\DLL07A8
%ApHIDI2C.DeviceDesc% = ApHIDI2C, ACPI\DLL07D1
%ApHIDI2C.DeviceDesc% = ApHIDI2C, ACPI\DLL07A9
%ApHIDI2C.DeviceDesc% = ApHIDI2C, ACPI\DLL07AA
%ApHIDI2C.DeviceDesc% = ApHIDI2C, ACPI\DLL07AB
%ApHIDI2C.DeviceDesc% = ApHIDI2C, ACPI\DELL07B0
%ApHIDI2C.DeviceDesc% = ApHIDI2C, ACPI\DELL07B1

;=============================================================== 
;For Windows 8+ - empty section
;=============================================================== 
[ApHIDI2C.NTamd64.6.2]

;===============================================================
;  ApHIDI2C - Common
;===============================================================

[ApHIDI2C.NT]
CopyFiles=ApHIDI2C.NT.Copy
ExcludeID=PS2_MOUSE,*PNP0F03,*PNP0F0B,*PNP0F0E,*PNP0F12,*PNP0F13

[ApHIDI2C.NT.HW]
AddReg=ApHIDI2C.NT.HW.AddReg

[ApHIDI2C.NT.Copy]
ApHIDI2C.sys

[ApHIDI2C.NT.HW.AddReg]
HKR,,"UpperFilters",0x00010000,mshidkmdf

[ApHIDI2C.NT.Services]
AddService=ApHIDI2C,0x00000002,ApHIDI2CServiceInst,ApHIDI2CEventLogInst

[ApHIDI2CEventLogInst]
AddReg=ApHIDI2CEventLogAddReg

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

;=============================================================== 
; ApHIDI2C - Driver install section
;=============================================================== 
[ApHIDI2CServiceInst]
DisplayName    = %ApHIDI2C.SVCDESC%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ;
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\ApHIDI2C.sys
LoadOrderGroup = Extended Base

[Strings]
Manufacturer="Alps Electric"
DiskId1="Alps Touch Pad Filter Driver for Windows Setup Disk"
ApHIDI2C.DeviceDesc="Alps I2C HID Device"
ApHIDI2C.SVCDESC="Alps I2C HID Miniport Driver"
