[Version]
Signature="$Windows NT$"
Class=Mouse
ClassGUID={4D36E96F-E325-11CE-BFC1-08002BE10318}
Provider=%Provider%
DriverVer=05/15/2007,1.6.0.1
CatalogFile=HidTchpk.cat

[DestinationDirs]
DefaultDestDir = 12 ; DIRID_DRIVERS

;[ControlFlags]
; We don't want our device to be installable via the non-PnP hardware dialogs
;ExcludeFromSelect = *

; Manufacturer Section
; ---------------------------------------------------------
[Manufacturer]
%TCHPK%=TCHPK                ; TouchPack

; Devices Section
; ---------------------------------------------------------
[TCHPK]
%HID\Vid_1234&Pid_8888.DeviceDesc%=Touchpack_Inst,, HID\Vid_1234&Pid_8888&Col02
%HID\Vid_1BFD&Pid_1688.DeviceDesc%=Touchpack_Inst,, HID\Vid_1BFD&Pid_1688&Col02
%HID\Vid_1BFD&Pid_1668.DeviceDesc%=Touchpack_Inst,, HID\Vid_1BFD&Pid_1668&Col02
%HID\Vid_1BFD&Pid_1568.DeviceDesc%=Touchpack_Inst,, HID\Vid_1BFD&Pid_1568&Col02
%HID\Vid_1BFD&Pid_1368.DeviceDesc%=Touchpack_Inst,, HID\Vid_1BFD&Pid_1368&Col02
%HID\Vid_1BFD&Pid_1268.DeviceDesc%=Touchpack_Inst,, HID\Vid_1BFD&Pid_1268&Col02
%HID\Vid_1BFD&Pid_6968.DeviceDesc%=Touchpack_Inst,, HID\Vid_1BFD&Pid_6968&Col02
%HID\Vid_1BFD&Pid_5968.DeviceDesc%=Touchpack_Inst,, HID\Vid_1BFD&Pid_5968&Col02
%HID\Vid_22B9&Pid_0006.DeviceDesc%=Touchpack_Inst,, HID\Vid_22B9&Pid_0006&Col02
%HID\Vid_1BFD&Pid_2968.DeviceDesc%=Touchpack_Inst,, HID\Vid_1BFD&Pid_2968&Col02

; Install Section for Windows Millennium
; ---------------------------------------------------------

[Touchpack_Inst]
Include=MSMOUSE.INF
Needs=HIDMouse
CopyFiles = Touchpack_Inst_CopyFiles
AddReg = Touchpack_Inst_AddReg

[Touchpack_Inst_AddReg]
HKR,,upperfilters,0,"Tchpkflt"

[Touchpack_Inst_CopyFiles]
Tchpkflt.sys


; Install Section for Windows 2000 & Windows XP
; ---------------------------------------------------------

[Touchpack_Inst.NT]
Include = MSMOUSE.INF
Needs = HID_Mouse_Inst.NT
CopyFiles = Touchpack_Inst_CopyFiles.NT

[Touchpack_Inst.NT.HW]
Include = MSMOUSE.INF
Needs = HID_Mouse_Inst.NT
AddReg = Touchpack_Inst_HWAddReg.NT

[Touchpack_Inst_HWAddReg.NT]
HKR,,"UpperFilters",0x00010000,"Tchpkflt"

[Touchpack_Inst_CopyFiles.NT]
Tchpkflt.sys

[Touchpack_Inst.NT.Services]
Needs = HID_Mouse_Inst.NT.Services
AddService = Tchpkflt, , Touchpack_Service_Inst

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


; Source Media Section
; ---------------------------------------------------------
[SourceDisksNames]
1 = %DiskName%

[SourceDisksFiles]
Tchpkflt.sys = 1


; Strings Section
; ---------------------------------------------------------
[Strings]
; Provider names
Provider = "Touch Pack"

; Mfg names
TCHPK = "Touch Pack"

; Service names
Touchpack.SvcDesc = "Touch Mouse Filter Service"

; HID device IDs
HID\VID_1234&PID_8888.DeviceDesc = "Touch Mouse filter"
HID\Vid_1BFD&Pid_1688.DeviceDesc = "Touch Mouse filter (R)"
HID\Vid_1BFD&Pid_1668.DeviceDesc = "Touch Mouse filter (IR)"
HID\Vid_1BFD&Pid_1568.DeviceDesc = "Touch Mouse filter (Capa)"
HID\Vid_1BFD&Pid_1368.DeviceDesc = "Touch Mouse filter"
HID\Vid_1BFD&Pid_1268.DeviceDesc = "Touch Mouse filter"
HID\Vid_1BFD&Pid_6968.DeviceDesc = "Touch Mouse filter"
HID\Vid_1BFD&Pid_5968.DeviceDesc = "Touch Mouse filter"
HID\Vid_22B9&Pid_0006.DeviceDesc = "Touch filter for ett"
HID\Vid_1BFD&Pid_2968.DeviceDesc = "Touch Mouse filter"

; Standard defs
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

