[Version]
Signature	= "$WINDOWS NT$"
Class		= HIDClass
ClassGuid	= {745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider	= %ManufacturerName%
CatalogFile	= pixartmultitouchhid.cat
DriverVer=04/11/2018,1.0.0.0

[DestinationDirs]
DefaultDestDir = 12

[SourceDisksNames]
1 = %DiskName%,,,""

[SourceDisksFiles]
PixartMultiTouchHID.sys	= 1,,
hidkmdf.sys				= 1,,

;*****************************************
; Install Section
;*****************************************

[Manufacturer]
%ManufacturerName%=Standard,NTamd64.6.1

[Standard.NTamd64.6.1]
%PixartMultiTouchHID.DeviceDesc%=PixartMultiTouchHID_Device, {67BA8F1E-D6BB-47C4-8911-78269CB554FA}\PixartVirtualHID

[PixartMultiTouchHID_Device.NT]
CopyFiles	= Drivers_Dir

[Drivers_Dir]
PixartMultiTouchHID.sys

[PixartMultiTouchHID_Device.NT.HW]
AddReg		= PixartMultiTouchHID_Device.NT.HW.AddReg

[PixartMultiTouchHID_Device.NT.HW.AddReg]  
HKR,,"LowerFilters",0x00010000,"PixartMultiTouchHID"
HKR,,"AllowIdleIrpInD3",0x00010001,0x1

;*****************************************
; Service installation
;*****************************************

[PixartMultiTouchHID_Device.NT.Services]
AddService = PixartMultiTouchHID,, PixartMultiTouchHID_Service_Inst
AddService = mshidkmdf, 0x00000002, hidkmdf_Service_Inst

;*****************************************
; PixartPS2ToHID driver install sections
;*****************************************

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

[hidkmdf_Service_Inst]
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
;ServiceBinary  = %10%\System32\Drivers\mshidkmdf.sys
ServiceBinary  = %12%\mshidkmdf.sys

;*****************************************
; Strings
;*****************************************

[Strings]
ManufacturerName			= "PixArt Imaging Inc."
DiskName				= "Pixart HID Multi-Touch Installation Disk"
PixartMultiTouchHID.DeviceDesc	= "Pixart HID Multi-Touch Device"
PixartMultiTouchHID.SVCDESC		= "Pixart HID Multi-Touch Service"
