; pmhidusb.INF
;
; Version 2.1.5.103, 2009/06/25
;
; INF file for PenMount USB HID Driver
;
; Copyright (c) 2009 PenMount
; 

[Version]
Signature   = "$WINDOWS NT$"
Class       = HIDClass
ClassGuid   = {745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider    = %PENMOUNT.MFG%
DriverVer   = 06/25/2009,2.1.5.103
CatalogFile.NTx86   = pmhidusbx86.cat
CatalogFile.NTAMD64 = pmhidusbx64.cat

[SourceDisksNames]
2=%PENMOUNT.DISK%

[SourceDisksNames.x86]
1=%PENMOUNT.DISK%,,,\i386

[SourceDisksNames.amd64]
1=%PENMOUNT.DISK%,,,\amd64

[SourceDisksFiles]
pmhidusb.sys   = 1 ; should be %PENMOUNT.SERVICE.NAME%.sys, when self sign change this to the actual file name

[ControlFlags]
ExcludeFromSelect = *

[DestinationDirs]
DefaultDestDir                      = 12
pmInstall.NT.CopyFiles.Driver       = 12

; --------------------------------------------------------------------------------
;   Manufacturer Section
; --------------------------------------------------------------------------------
[Manufacturer]
%PENMOUNT.MFG%  = PENMOUNT.MFG, NTx86, NTamd64

[PENMOUNT.MFG]
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6000
%PM6250.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6250
%PM5000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_5000
%PM5000.DeviceDesc% = pmInstall, USB\VID_1204&PID_9998

[PENMOUNT.MFG.NTx86]
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6000
%PM6250.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6250
%PM5000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_5000
%PM5000.DeviceDesc% = pmInstall, USB\VID_1204&PID_9998

[PENMOUNT.MFG.NTamd64]
%PM6000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6000
%PM6250.DeviceDesc% = pmInstall, USB\VID_14E1&PID_6250
%PM5000.DeviceDesc% = pmInstall, USB\VID_14E1&PID_5000
%PM5000.DeviceDesc% = pmInstall, USB\VID_1204&PID_9998

; -----------------------------------------------------------------------
[pmInstall.NT]
Include   = input.inf
Needs     = HID_Inst.NT
Copyfiles = pmInstall.NT.CopyFiles.Driver
AddReg    = pmInstall.NT.AddReg

[pmInstall.NT.CopyFiles.Driver]
%PENMOUNT.SERVICE.NAME%.sys

[pmInstall.NT.AddReg]
HKCU,"Control Panel\Mouse",DoubleClickHeight,0x00000000,"25"
HKCU,"Control Panel\Mouse",DoubleClickWidth,0x00000000,"25"
HKCU,"Control Panel\Mouse",DoubleClickSpeed,0x00000000,"800"

; -----------------------------------------------------------------------
[pmInstall.NT.HW]
AddReg = pmInstall.NT.HW.AddReg

[pmInstall.NT.HW.AddReg]
HKR,,"LowerFilters",0x00010000,%PENMOUNT.SERVICE.NAME%

; -----------------------------------------------------------------------
[pmInstall.NT.Interfaces]
AddInterface=%PENMOUNT.GUID%,,pmInstall.NT.Interfaces.AddInterface

[pmInstall.NT.Interfaces.AddInterface]
AddReg  = pmInstall.NT.Interfaces.AddReg

[pmInstall.NT.Interfaces.AddReg]

; -----------------------------------------------------------------------
[pmInstall.NT.Services]
Include    = input.inf
Needs      = HID_Inst.NT.Services
AddService = %PENMOUNT.SERVICE.NAME%,,pmInstall.NT.Services.Install,pmInstall.NT.Services.EventLog

[pmInstall.NT.Services.Install]
ServiceType    = 1
StartType      = 3
ErrorControl   = 0
ServiceBinary  = %12%\%PENMOUNT.SERVICE.NAME%.sys
LoadOrderGroup = extended base
AddReg         = pmInstall.NT.Services.Install.AddReg

[pmInstall.NT.Services.Install.AddReg]

[pmInstall.NT.Services.EventLog]
AddReg = pmInstall.NT.Services.EventLog.AddReg

[pmInstall.NT.Services.EventLog.AddReg]
HKR,,EventMessageFile,0x00020000,%11%"\IoLogMsg.dll;"%12%\%PENMOUNT.SERVICE.NAME%.sys
HKR,,TypesSupported  ,0x00010001,7

; -----------------------------------------------------------------------
[Strings]
PENMOUNT.DISK               ="PenMount HID Device Filter Driver Package"
PENMOUNT.MFG                ="PenMount"
PM6000.DeviceDesc           ="PenMount 6000 USB"
PM6250.DeviceDesc           ="PenMount M1 USB"
PM5000.DeviceDesc           ="PenMount 5000 USB"
PENMOUNT.SERVICE.NAME       ="pmhidusb"
PENMOUNT.SERVICE.DESC       ="PenMount HID Device Filter Driver"
PENMOUNT.GUID               ="{2dec70a3-3f00-432e-84de-f2c95a62ce79}"
PENMOUNT.FILE.CONINSTLR     ="pmCoInstlr.dll"