📄 kmouse32.inf
字号:
;PS2 and Serial Mouse Setup INF file for Win9x/NT40
;USB Wheel 5 Button Mouse for Win98
[Version]
Signature=$CHICAGO$
Class=Mouse
Provider=%Provider%
ClassGUID={4D36E96F-E325-11CE-BFC1-08002BE10318} ; identifies MOUSE class GUID
[DestinationDirs]
; 11 - <windir>\system
; 12 - <windir>\system32\drivers
; 22 - <windir>\System\Vmm32
VXD.Copy=11 ; Win9x Driver windows\system
PS2SYS.Copy=12 ; NT4 PS2 Driver windows\system32\drivers
SERSYS.Copy=12 ; NT4 Serial Driver windows\system32\drivers
[SourceDisksNames]
; no volume label on source disk
51="",,1
[SourceDisksFiles]
; identifies source disk for these files - see SourceDiskNames
kmouse32.inf=51
kmouse32.vxd=51
kmoups2.sys=51
kmouser.sys=51
;-------------------------------------------------------------------------
; Manufacturer Section
;-------------------------------------------------------------------------
[Manufacturer]
%Mfg%=BBCWO
[BBCWO] ; identify install sections for all our Mice
%PNP0F13.DevDesc%=PS2.BBCWO,*PNP0F13
%STDSER.DevDesc%=SER.BBCWO
;-------------------------------------------------------------------
; Install Sections
;-------------------------------------------------------------------
;------------------------------------------------------
; Sections for Windows9x
;------------------------------------------------------
[VXD.Copy]
kmouse32.vxd
[BBCWO.DelReg]
; HKR relative to ClassGUID above of HKLM\System\CurrentControlSet\Class\Mouse
HKR,,DevLoader
HKR,,MouseDriver
HKR,,MouseType
HKR,,ComInfo
[BBCWO.Ini]
system.ini,boot,,"mouse.drv=mouse.drv"
system.ini,386Enh,,"mouse=*vmouse,msmouse.vxd"
system.ini,boot.description,,"mouse.drv=%SYSTEM_INI_DRIVER_DESCRIPTION%"
[BBCWO.AddReg]
HKR,,DevLoader,0,*vmouse
HKR,,NoSetupUI,,1
HKR,,InfPath,,"kmouse32.inf"
HKR,,MouseDriver,0,kmouse32.vxd
;-------------------------------------------------------
; Win9x PS2
;-------------------------------------------------------
[PS2.BBCWO]
DelReg=BBCWO.DelReg
AddReg=PS2.BBCWO.AddReg, BBCWO.AddReg
CopyFiles=VXD.Copy
UpdateInis=BBCWO.Ini
LogConfig=PS2.LogConfig
[PS2.BBCWO.AddReg]
HKR,,MouseType,,"PS2"
HKR,,InfSection,,"PS2.BBCWO"
[PS2.LogConfig]
ConfigPriority=HARDWIRED
IRQConfig=12
[PS2.BBCWO.PosDup]
*PNP0F13
;-------------------------------------------------------
; Win9x Serial
;-------------------------------------------------------
[SER.BBCWO]
DelReg=BBCWO.DelReg
AddReg=SER.BBCWO.AddReg, BBCWO.AddReg
CopyFiles=VXD.Copy
UpdateInis=BBCWO.Ini
[SER.BBCWO.AddReg]
HKR,,MouseType,,"SERIAL"
HKR,,InfSection,,"SER.BBCWO"
;---------------------------------------
; Sections for WINNT
;---------------------------------------
;--------- PS2 Mouse Install ------------------
[PS2.BBCWO.NT]
CopyFiles=PS2SYS.Copy
AddReg=PS2Param.AddReg
LogConfig=i8042prt.Ipoint.NT.LogConfig
REBOOT
[PS2SYS.Copy]
kmoups2.sys
[PS2Param.AddReg]
HKLM,%I8042Prt.Key%,DisplayName ,0x00000000,"WHEEL MOUSE PS2 MOUSE"
HKLM,%I8042Prt.Key%,ErrorControl,0x00010001,0x1
HKLM,%I8042Prt.Key%,Group ,0x00000000,"Keyboard Port"
HKLM,%I8042Prt.Key%,ImagePath ,0x00020000,"System32\Drivers\kmoups2.sys"
HKLM,%I8042Prt.Key%,Start ,0x00010001,0x1
HKLM,%I8042Prt.Key%,Tag ,0x00010001,0x2
HKLM,%I8042Prt.Key%,Type ,0x00010001,0x1
[i8042prt.Ipoint.NT.LogConfig]
ConfigPriority=HARDWIRED,RESTART
[PS2.BBCWO.NT.Services]
AddService = i8042prt, 0x00000002, i8042prt_Service_Inst, i8042prt_EventLog_Inst
[i8042prt_Service_Inst]
DisplayName = %i8042prt.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 1 ; SERVICE_SYSTEM_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\kmoups2.sys
LoadOrderGroup = Keyboard Port
[i8042prt_EventLog_Inst]
AddReg = i8042prt_EventLog_AddReg
[i8042prt_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\kmoups2.sys"
HKR,,TypesSupported,0x00010001,7
;--------- SERIAL Mouse Install ------------------
[Ser.BBCWO.NT]
CopyFiles=SERSYS.Copy
AddReg=SerParam.AddReg
REBOOT
[SERSYS.Copy]
kmouser.sys
[SerParam.AddReg]
HKLM,%Sermouse.Key%,DisplayName ,0x00000000,"WHEEL MOUSE SERIAL MOUSE"
HKLM,%Sermouse.Key%,ErrorControl,0x00010001,0x1
HKLM,%Sermouse.Key%,Group ,0x00000000,"Pointer Port"
HKLM,%Sermouse.Key%,ImagePath ,0x00020000,"System32\Drivers\kmouser.SYS"
HKLM,%Sermouse.Key%,Start ,0x00010001,0x1
HKLM,%Sermouse.Key%,Tag ,0x00010001,0x2
HKLM,%Sermouse.Key%,Type ,0x00010001,0x1
[Ser.BBCWO.NT.Services]
AddService = SERMOUSE, 0x00000002, sermouse_Service_Inst, sermouse_EventLog_Inst
[sermouse_Service_Inst]
DisplayName = %sermouse.SvcDesc%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 1 ; SERVICE_SYSTEM_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\kmouser.SYS
LoadOrderGroup = Pointer Port
[sermouse_EventLog_Inst]
AddReg = sermouse_EventLog_AddReg
[sermouse_EventLog_AddReg]
HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\kmouser.SYS"
HKR,,TypesSupported,0x00010001,7
;---------------------------------------------------------------------------
; Strings Section
;---------------------------------------------------------------------------
[Strings]
Provider="KME"
Mfg="KME"
SYSTEM_INI_DRIVER_DESCRIPTION="WHEEL MOUSE"
PNP0F13.DevDesc="WHEEL MOUSE PS2 MOUSE"
STDSER.DevDesc="WHEEL MOUSE SERIAL MOUSE"
; Microsoft NT key
I8042Prt.Key="SYSTEM\CurrentControlSet\Services\i8042prt"
Sermouse.Key="SYSTEM\CurrentControlSet\Services\Sermouse"
; Service Desc
i8042prt.SvcDesc = "WHEEL MOUSE PS2 MOUSE"
sermouse.SvcDesc = "WHEEL MOUSE SERIAL MOUSE"
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -