; Copy from INPUT.INF and Add USBKBFlt.SYS filter driver [Version] LayoutFile=layout.inf Signature="$WINDOWS NT$" Class=HIDClass ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da} Provider=%Provider% DriverVer=11/28/2000 [ControlFlags] ExcludeFromSelect = * [DestinationDirs] DefaultDestDir = 12 HID_Inst.CopyFilesDLL.NT = 11 PID_Inst.CopyFilesDLL.NT = 11 [ClassInstall] Addreg=HIDClassReg [HIDClassReg] HKR,,,,%HID.ClassName% HKR,,Icon,,-24 HKR,,NoInstallClass,,1 [ClassInstall32] Addreg=HIDClassReg [Manufacturer] %Manufacturer%=USBKeyPad [USBKeyPad] %USBKeyPad1.DeviceDesc%=HID_Inst,USB\VID_04B4&PID_0101&MI_01 %USBKeyPad2.DeviceDesc%=HID_Inst,USB\VID_04B4&PID_0102&MI_01 ;===================================================================== [HID_Inst.NT] Copyfiles = HID_Inst.CopyFiles.NT, HID_Inst.CopyFilesDLL.NT, PID_Inst.CopyFilesDLL.NT ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Ben Add [HID_Inst.NT.HW] AddReg = USBHIDKeyPadDevice.AddReg.NT ;; Ben Add ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; [HID_Inst.CopyFiles.NT] hidusb.sys hidclass.sys hidparse.sys [HID_INST.CopyFilesDLL.NT] hid.dll ;;Pid.dll allows dinput.dll to talk to a USB PID(Physical Interface Device:ForceFeedback) device. [PID_Inst.CopyFilesDLL.NT] pid.dll [HID_Inst.NT.Services] AddService = HidUsb,%SPSVCINST_ASSOCSERVICE%,HID_Service_Inst ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Ben Add AddService = USBKBFlt,,USBKBFlt_Service_Inst ;; Ben Add ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;; Hack for Nanao HID Monitor ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; [HID_Inst_NanaoFix.NT] Copyfiles = HID_Inst.CopyFiles.NT, HID_Inst.CopyFilesDLL.NT AddReg = NanaoHack.AddReg [HID_Inst_NanaoFix.NT.Services] AddService = HidUsb,%SPSVCINST_ASSOCSERVICE%,HID_Service_Inst [NanaoHack.AddReg] ; ; The Nanao display driver is dependent on a Win98G bug that allowed ; feature access on non-feature collections. ; Set a flag in the devnode that allerts HIDCLASS to allow this ; driver to continue working. ; HKR,DeviceSpecificFlags,AllowFeatureOnNonFeatureCollection,,1 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; [HID_Service_Inst] DisplayName = %HID.SvcDesc% ServiceType = %SERVICE_KERNEL_DRIVER% StartType = %SERVICE_AUTO_START% ErrorControl = %SERVICE_ERROR_IGNORE% ServiceBinary = %12%\hidusb.sys LoadOrderGroup = extended base [HID_Dummy_Service_Inst] DisplayName = %DUMMY.SvcDesc% ServiceType = %SERVICE_KERNEL_DRIVER% StartType = %SERVICE_AUTO_START% ErrorControl = %SERVICE_ERROR_IGNORE% ServiceBinary = %12%\dummyfdo.sys LoadOrderGroup = extended base ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Ben Add [USBHIDKeyPadDevice.AddReg.NT] HKR,,"LowerFilters",0x00010000,"USBKBFlt" HKR,,"VendorSpooge",0x00010000,"C is for cookie" [USBKBFlt_Service_Inst] DisplayName = %USBKBFlt.SvcDesc% ServiceType = %SERVICE_KERNEL_DRIVER% StartType = %SERVICE_AUTO_START% ErrorControl = %SERVICE_ERROR_NORMAL% ServiceBinary = %12%\USBKBFlt.SYS LoadOrderGroup = extended base ;; Ben Add ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; [strings] HID.ClassName="Human Interface Devices" HID.SvcDesc="Microsoft HID Class Driver" DUMMY.SvcDesc="Microsoft Dummy FDO Driver" SPSVCINST_TAGTOFRONT = 0x00000001 SPSVCINST_ASSOCSERVICE= 0x00000002 SERVICE_KERNEL_DRIVER = 1 SERVICE_BOOT_START = 0 SERVICE_SYSTEM_START = 1 SERVICE_AUTO_START = 2 SERVICE_DEMAND_START = 3 SERVICE_ERROR_NORMAL = 1 SERVICE_ERROR_IGNORE = 0 REG_EXPAND_SZ = 0x00020000 REG_DWORD = 0x00010001 REG_SZ = 0x00000000 Provider="" Manufacturer="" USBKeyPad1.DeviceDesc="USB Keypad HID Monitor" USBKeyPad2.DeviceDesc="USB Keypad HID Monitor" USBKBFlt.SvcDesc="Dritek USB Keypad Filter"