KMOUSENT.inf Driver File Contents (mitsuko.zip)

Driver Package File Name: mitsuko.zip
File Size: 1.7 MB

; ARTMOUSE.INF
[Version]
Signature=$Windows NT$
Class=Mouse
ClassGUID={4D36E96F-E325-11CE-BFC1-08002BE10318}
Provider=%MS%

[SourceDisksNames]
1=%MouseDisk%,,0

[SourceDisksFiles]
KMOUPS2.sys=1		;!!
KMOUSER.sys=1		;!!
KMOUSENT.inf=1		;!!

[DestinationDirs]
DefaultDestDir=11	; WINDIS\SYSTEM
PS2_Sys.Copy=12		; DIRID_DRIVERS
Ser_Sys.Copy=12		; DIRID_DRIVERS
Inf.Copy=17


[ControlFlags]
;
; Mark any install sections for drivers that also control the i8042 keyboard port,
; so that we can warn the user that they may also be affecting their keyboard with
; a mouse driver change.
;
SharedDriver=PS2_Inst,%PS2_Inst.SharedDriverMsg%

; Manufacturer Sections
; ---------------------------------------------------------
[Manufacturer]
%MS%=MS

[MS]
"KEYMOUSE PS2 MOUSE"   = PS2_Inst			;!!
"KEYMOUSE SERIAL MOUSE" = Ser_Inst			;!!
"KEYMOUSE SERIAL MOUSE" = Ser_Inst,EMC0001		;!!


; Install Sections List
;----------------------------------------------

[PS2_Sys.Copy]
KMOUPS2.SYS		;!!

[Ser_Sys.Copy]
KMOUSER.SYS		;!!

[Inf.Copy]
KMOUSE32.INF		;!!

;------------ Serial Mouse Install --------------------
[Ser_Inst]
CopyFiles=Ser_Sys.Copy,Inf.Copy
AddReg=SerParam.AddReg


[SerParam.AddReg]
HKLM,%Sermouse.Key%,DisplayName ,0x00000000,"KEYMOUSE SERIAL MOUSE" 	;REG_SZ		!!
HKLM,%Sermouse.Key%,ErrorControl,0x00010001,0x1                         ;REG_DWORD
HKLM,%Sermouse.Key%,Group       ,0x00000000,"Pointer Port"
HKLM,%Sermouse.Key%,ImagePath   ,0x00020000,"System32\Drivers\KMOUSER.SYS" ;REG_EXPAND_SZ !!
HKLM,%Sermouse.Key%,Start       ,0x00010001,0x1
HKLM,%Sermouse.Key%,Tag         ,0x00010001,0x2
HKLM,%Sermouse.Key%,Type        ,0x00010001,0x1

[Ser_Inst.Services]
AddService = SERMOUSE, 0x00000002, sermouse_Service_Inst, sermouse_EventLog_Inst ; Port Driver

[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


;--------- PS2 Mouse Install ------------------
[PS2_Inst]
CopyFiles=PS2_Sys.Copy,Inf.Copy
AddReg=PS2Param.AddReg

[PS2Param.AddReg]
HKLM,%I8042Prt.Key%,DisplayName ,0x00000000,"KEYMOUSE 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


[PS2_Inst.Services]
AddService = i8042prt, 0x00000002, i8042prt_Service_Inst, i8042prt_EventLog_Inst  ; Port Driver

[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


; User visible strings
; ---------------------------------------------------------

[Strings]
MS="KME"
MouseDisk="Mouse NT Disk"


; Microsoft key
Sermouse.Key="SYSTEM\CurrentControlSet\Services\Sermouse"
I8042Prt.Key="SYSTEM\CurrentControlSet\Services\i8042prt"
SerParam.Key="SYSTEM\CurrentControlSet\Services\SERMOUSE\Parameters"
PS2Param.Key="SYSTEM\CurrentControlSet\Services\i8042prt\Parameters"

; Service Names
i8042prt.SvcDesc = "KEYMOUSE PS2 MOUSE"		;!!
sermouse.SvcDesc = "KEYMOUSE SERIAL MOUSE"	;!!

; Description of device also controlled by a shared driver
PS2_Inst.SharedDriverMsg = "Keyboard Port"
server: web4, load: 0.68