[Version]
Signature="$Windows NT$"
Class=Mouse
ClassGUID={4D36E96F-E325-11CE-BFC1-08002BE10318}
Provider=%Provider%
DriverVer=10/24/2012,2.3.4.0
CatalogFile=trackpad_plus_plus_x86.cat

[DestinationDirs]
DefaultDestDir = 12 ; DIRID_DRIVERS

[Manufacturer]
%trackpadplusplus%=trackpadplusplusMfg

[trackpadplusplusMfg]
%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_0223&MI_01&Col01
%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_0224&MI_01&Col01
%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_0225&MI_01&Col01

%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_0230&MI_01&Col01
%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_0231&MI_01&Col01
%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_0232&MI_01&Col01

%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_0236&MI_01&Col01
%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_0237&MI_01&Col01
%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_0238&MI_01&Col01

%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_023F&MI_01&Col01
%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_0240&MI_01&Col01
%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_0241&MI_01&Col01

%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_0242&MI_01&Col01
%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_0243&MI_01&Col01
%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_0244&MI_01&Col01

%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_0245&MI_01&Col01
%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_0246&MI_01&Col01
%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_0247&MI_01&Col01

%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_0249&MI_01&Col01
%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_024A&MI_01&Col01
%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_024B&MI_01&Col01

%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_024C&MI_01&Col01
%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_024D&MI_01&Col01
%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_024E&MI_01&Col01

%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_0252&MI_01&Col01
%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_0253&MI_01&Col01
%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_0254&MI_01&Col01

%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_0259&MI_01&Col01
%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_025A&MI_01&Col01
%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_025B&MI_01&Col01

%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_0262&MI_01&Col01
%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_0263&MI_01&Col01
%HID.DeviceDesc% = tpp,, HID\Vid_05ac&Pid_0264&MI_01&Col01

[tpp.NT]
Include = MSMOUSE.INF
Needs = HID_Mouse_Inst.NT
CopyFiles = tpp_CopyFiles.NT

[tpp.NT.HW]
Include = MSMOUSE.INF
Needs = HID_Mouse_Inst.NT
AddReg = tpp_HWAddReg.NT

[tpp_HWAddReg.NT]
HKR,,"UpperFilters",0x00010000,"trackpad_plus_plus_x86"

[tpp_CopyFiles.NT]
trackpad_plus_plus_x86.sys

[tpp.NT.Services]
Needs = HID_Mouse_Inst.NT.Services
AddService = trackpad_plus_plus_x86, , trackpad_plus_plus_x86_Service_Inst

[trackpad_plus_plus_x86_Service_Inst]
DisplayName    = %trackpad_plus_plus_x86.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 1                  ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\trackpad_plus_plus_x86.sys
LoadOrderGroup = PNP Filter

[SourceDisksNames]
1 = %DiskName%

[SourceDisksFiles]
trackpad_plus_plus_x86.sys = 1

[DestinationDirs]
tpp_CoInstaller_CopyFiles = 11

[tpp.NT.CoInstallers]
AddReg=tpp_CoInstaller_AddReg
CopyFiles=tpp_CoInstaller_CopyFiles

[tpp_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01011.dll,WdfCoInstaller"

[tpp_CoInstaller_CopyFiles]
WdfCoInstaller01011.dll

[SourceDisksFiles]
WdfCoInstaller01011.dll=1 ; make sure the number matches with SourceDisksNames

[tpp.NT.Wdf]
KmdfService = trackpad_plus_plus_x86, trackpad_plus_plus_x86_wdfsect
[trackpad_plus_plus_x86_wdfsect]
KmdfLibraryVersion = 1.11

[Strings]
Provider = "Vladimir Plenskiy Software"

trackpadplusplus = "Vladimir Plenskiy Software"

trackpad_plus_plus_x86.SvcDesc = "trackpad_plus_plus_x86 Service"

DiskName = "trackpad_plus_plus_x86 Driver Disk"

HID.DeviceDesc = "Apple Multitouch Trackpad [Driver: Trackpad++]"

SPSVCINST_TAGTOFRONT  = 0x00000001
SPSVCINST_ASSOCSERVICE= 0x00000002
SERVICE_KERNEL_DRIVER = 1
SERVICE_BOOT_START    = 0
SERVICE_SYSTEM_START  = 1
SERVICE_AUTO_START    = 2
SERVICE_ERROR_NORMAL  = 1
SERVICE_ERROR_IGNORE  = 0
REG_EXPAND_SZ         = 0x00020000
REG_DWORD             = 0x00010001
REG_SZ                = 0x00000000

