[Version]
Signature="$Windows NT$"
Class=Mouse
ClassGUID={4D36E96F-E325-11CE-BFC1-08002BE10318}
Provider=%Provider%
DriverVer = 04/24/2024,1.0.1.4
PnpLockDown = 1
CatalogFile = ristpflt.cat

[SourceDisksNames]
1 = %DiskName%

[SourceDisksFiles]
RisTpFlt.sys = 1
WdfCoInstaller01009.dll = 1

[DestinationDirs]
DefaultDestDir = 12 ; DIRID_DRIVERS
RisTpFlt_CoInstaller_CopyFiles = 11

[ControlFlags]
ExcludeFromSelect = *

; Manufacturer Section
; ---------------------------------------------------------
[Manufacturer]
%TCHPK%=TCHPKMfg,NTx86


; ---------------------------------------------------------
[TCHPKMfg.NTx86]
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_1234&Pid_8888, HID\Vid_1234&Pid_8888&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_062A&Pid_7106, HID\Vid_062A&Pid_7106&Col02

%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_1BFD&Pid_1688, HID\Vid_1BFD&Pid_1688&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_1BFD&Pid_1568, HID\Vid_1BFD&Pid_1568&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_1BFD&Pid_1368, HID\Vid_1BFD&Pid_1368&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_1BFD&Pid_1268, HID\Vid_1BFD&Pid_1268&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_1BFD&Pid_6968, HID\Vid_1BFD&Pid_6968&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_1BFD&Pid_5968, HID\Vid_1BFD&Pid_5968&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_1BFD&Pid_1968, HID\Vid_1BFD&Pid_1968&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_1BFD&Pid_2968, HID\Vid_1BFD&Pid_2968&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_1BFD&Pid_8008, HID\Vid_1BFD&Pid_8008&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_1BFD&Pid_3050, HID\Vid_1BFD&Pid_3050&Col02

%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_1DDB&Pid_0001, HID\Vid_1DDB&Pid_0001&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_1DDB&Pid_1688, HID\Vid_1DDB&Pid_1688&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_1DDB&Pid_1568, HID\Vid_1DDB&Pid_1568&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_1DDB&Pid_1368, HID\Vid_1DDB&Pid_1368&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_1DDB&Pid_1268, HID\Vid_1DDB&Pid_1268&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_1DDB&Pid_6968, HID\Vid_1DDB&Pid_6968&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_1DDB&Pid_5968, HID\Vid_1DDB&Pid_5968&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_1DDB&Pid_1968, HID\Vid_1DDB&Pid_1968&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_1DDB&Pid_2968, HID\Vid_1DDB&Pid_2968&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_1DDB&Pid_8008, HID\Vid_1DDB&Pid_8008&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_1DDB&Pid_3050, HID\Vid_1DDB&Pid_3050&Col02

%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_22B9&Pid_0006, HID\Vid_22B9&Pid_0006&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_22B9&Pid_0008, HID\Vid_22B9&Pid_0008&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_22B9&Pid_1688, HID\Vid_22B9&Pid_1688&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_22B9&Pid_1668, HID\Vid_22B9&Pid_1668&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_22B9&Pid_1568, HID\Vid_22B9&Pid_1568&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_22B9&Pid_1368, HID\Vid_22B9&Pid_1368&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_22B9&Pid_1268, HID\Vid_22B9&Pid_1268&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_22B9&Pid_6968, HID\Vid_22B9&Pid_6968&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_22B9&Pid_5968, HID\Vid_22B9&Pid_5968&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_22B9&Pid_1968, HID\Vid_22B9&Pid_1968&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_22B9&Pid_2968, HID\Vid_22B9&Pid_2968&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_22B9&Pid_8008, HID\Vid_22B9&Pid_8008&Col02
%RisTpFlt.DeviceDesc% = RisTpFlt,HID\Vid_22B9&Pid_3050, HID\Vid_22B9&Pid_3050&Col02

%RisTpFlt_SerHid.DeviceDesc% = RisTpFlt,HID\serhidtp, HID\serhidtp&Col01
%RisTpFlt_SerHid.DeviceDesc% = RisTpFlt,HID\serhidtp, HID\serhidtp&Col02
%RisTpFlt_SerHid.DeviceDesc% = RisTpFlt,HID\serhidtp, HID\serhidtp&Col03
%RisTpFlt_SerHid.DeviceDesc% = RisTpFlt,HID\serhidtp, HID\serhidtp&Col04
%RisTpFlt_SerHid.DeviceDesc% = RisTpFlt,HID\serhidtp, HID\serhidtp&Col05
%RisTpFlt_SerHid.DeviceDesc% = RisTpFlt,HID\serhidtp, HID\serhidtp&Col06
%RisTpFlt_SerHid.DeviceDesc% = RisTpFlt,HID\serhidtp, HID\serhidtp&Col07
%RisTpFlt_SerHid.DeviceDesc% = RisTpFlt,HID\serhidtp, HID\serhidtp&Col08
%RisTpFlt_SerHid.DeviceDesc% = RisTpFlt,HID\serhidtp, HID\serhidtp&Col09

%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_1BFD&Pid_2088, HID\Vid_1BFD&Pid_2088&Col02
%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_1BFD&Pid_2188, HID\Vid_1BFD&Pid_2188&Col02
%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_1BFD&Pid_2288, HID\Vid_1BFD&Pid_2288&Col02
%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_1BFD&Pid_2388, HID\Vid_1BFD&Pid_2388&Col02
%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_1BFD&Pid_2488, HID\Vid_1BFD&Pid_2488&Col02
%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_1BFD&Pid_2588, HID\Vid_1BFD&Pid_2588&Col02
%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_1BFD&Pid_2688, HID\Vid_1BFD&Pid_2688&Col02
%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_1BFD&Pid_2788, HID\Vid_1BFD&Pid_2788&Col02
%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_1BFD&Pid_2888, HID\Vid_1BFD&Pid_2888&Col02
%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_1BFD&Pid_2988, HID\Vid_1BFD&Pid_2988&Col02

%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_22B9&Pid_2088, HID\Vid_22B9&Pid_2088&Col02
%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_22B9&Pid_2188, HID\Vid_22B9&Pid_2188&Col02
%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_22B9&Pid_2288, HID\Vid_22B9&Pid_2288&Col02
%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_22B9&Pid_2388, HID\Vid_22B9&Pid_2388&Col02
%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_22B9&Pid_2488, HID\Vid_22B9&Pid_2488&Col02
%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_22B9&Pid_2588, HID\Vid_22B9&Pid_2588&Col02
%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_22B9&Pid_2688, HID\Vid_22B9&Pid_2688&Col02
%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_22B9&Pid_2788, HID\Vid_22B9&Pid_2788&Col02
%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_22B9&Pid_2888, HID\Vid_22B9&Pid_2888&Col02
%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_22B9&Pid_2988, HID\Vid_22B9&Pid_2988&Col02

%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_1DDB&Pid_2088, HID\Vid_1DDB&Pid_2088&Col02
%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_1DDB&Pid_2188, HID\Vid_1DDB&Pid_2188&Col02
%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_1DDB&Pid_2288, HID\Vid_1DDB&Pid_2288&Col02
%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_1DDB&Pid_2388, HID\Vid_1DDB&Pid_2388&Col02
%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_1DDB&Pid_2488, HID\Vid_1DDB&Pid_2488&Col02
%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_1DDB&Pid_2588, HID\Vid_1DDB&Pid_2588&Col02
%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_1DDB&Pid_2688, HID\Vid_1DDB&Pid_2688&Col02
%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_1DDB&Pid_2788, HID\Vid_1DDB&Pid_2788&Col02
%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_1DDB&Pid_2888, HID\Vid_1DDB&Pid_2888&Col02
%RisTpFlt_New.DeviceDesc% = RisTpFlt,HID\Vid_1DDB&Pid_2988, HID\Vid_1DDB&Pid_2988&Col02

[RisTpFlt.NT]
Include = MSMOUSE.INF
Needs = HID_Mouse_Inst.NT
CopyFiles = RisTpFlt_CopyFiles.NT

[RisTpFlt.NT.HW]
Include = MSMOUSE.INF
Needs = HID_Mouse_Inst.NT
AddReg = RisTpFlt_HWAddReg.NT

[RisTpFlt_HWAddReg.NT]
HKR,,"UpperFilters",0x00010000,"RisTpFlt"
HKR,,"ScreenNumber",0x00010001,0x00000001

[RisTpFlt_CopyFiles.NT]
RisTpFlt.sys

[RisTpFlt.NT.Services]
Needs = HID_Mouse_Inst.NT.Services
AddService = RisTpFlt, , RisTpFlt_Service_Inst

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

;
;--- RisTpFlt WDF Coinstaller installation ------
;

;[DestinationDirs]
;RisTpFlt_CoInstaller_CopyFiles = 11

[RisTpFlt.NT.CoInstallers]
AddReg=RisTpFlt_CoInstaller_AddReg
CopyFiles=RisTpFlt_CoInstaller_CopyFiles

[RisTpFlt_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"

[RisTpFlt_CoInstaller_CopyFiles]
WdfCoInstaller01009.dll

[RisTpFlt.NT.Wdf]
KmdfService = RisTpFlt, RisTpFlt_wdfsect

[RisTpFlt_wdfsect]
KmdfLibraryVersion = 1.09


; Strings Section
; ---------------------------------------------------------
[Strings]
; Provider names
Provider = "Risintech Inc."

; Mfg names
TCHPK = "Risintech Inc."

; Service names
RisTpFlt.SvcDesc = "Touch Mouse Driver"

; Media names
DiskName = "Touch Mouse Driver Install Disk"

; HID device IDs
RisTpFlt.DeviceDesc = "Touchpack Touch Mouse Hid Device"
RisTpFlt_New.DeviceDesc = "Touchpack Touchscreen HID Driver"
RisTpFlt_SerHid.DeviceDesc = "Touchpack Serial Touch Mouse Hid Device"

SharedDriverMsg         = "PS/2 keyboard port"

; 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
