[Version]
Signature	= "$WINDOWS NT$"
Class		= Mouse
ClassGuid	= {4D36E96F-E325-11CE-BFC1-08002BE10318}
Provider	= %ManufacturerName%
CatalogFile	= pixartps2tohid.cat
DriverVer=06/05/2018,1.0.1.5

[DestinationDirs]
DefaultDestDir = 12

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

[SourceDisksFiles]
PixartPS2ToHID.sys  = 1,,

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

[Manufacturer]
%ManufacturerName%=Standard,NTamd64

[Standard.NTamd64]
%PixartPS2ToHID.DeviceDesc%=PixartPS2ToHID_Device, *PXR0000

[PixartPS2ToHID_Device.NT]
Include		= msmouse.inf
Needs		= PS2_Inst
CopyFiles	= Drivers_Dir
AddReg		= Settings_AddReg

[Drivers_Dir]
PixartPS2ToHID.sys

[PixartPS2ToHID_Device.NT.HW]
Include		= msmouse.inf
Needs		= PS2_Inst.HW
AddReg		= PixartPS2ToHID_Device.NT.HW.AddReg

[PixartPS2ToHID_Device.NT.HW.AddReg]  
HKR,,"UpperFilters",0x00010000,"PixartPS2ToHID"

;*****************************************
; Settings Section
;*****************************************

[Settings_AddReg]
; 0 = click pad, 1 = normal pad
HKLM,System\CurrentControlSet\Services\PixartPS2ToHID\Parameters,DeviceType, 0x00010001, 0
; decimal
HKLM,System\CurrentControlSet\Services\PixartPS2ToHID\Parameters,LogicalMaximumX, 0x00010001, 1023
HKLM,System\CurrentControlSet\Services\PixartPS2ToHID\Parameters,LogicalMaximumY, 0x00010001, 627
HKLM,System\CurrentControlSet\Services\PixartPS2ToHID\Parameters,PhysicalMaximumX, 0x00010001, 980
HKLM,System\CurrentControlSet\Services\PixartPS2ToHID\Parameters,PhysicalMaximumY, 0x00010001, 600

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

[PixartPS2ToHID_Device.NT.Services]
Include		= msmouse.inf
Needs		= PS2_Inst.Services
AddService	= PixartPS2ToHID, , PixartPS2ToHID_Service_Inst

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

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

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

[Strings]
ManufacturerName		= "PixArt Imaging Inc."
DiskName			= "PixArt PS/2 Mouse Installation Disk"
PixartPS2ToHID.DeviceDesc	= "Pixart PS/2 Mouse Device"
PixartPS2ToHID.SVCDESC		= "Pixart PS/2 Service"
