Leaked source code of windows server 2003
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

529 lines
20 KiB

  1. ; MSMOUSE.INF
  2. ; - Installs core mouse support files, etc.
  3. ; - Includes drivers for detected & PnP devices
  4. ; Copyright (c) Microsoft Corporation. All rights reserved.
  5. [Version]
  6. Signature="$Windows NT$"
  7. Class=Mouse
  8. ClassGUID={4D36E96F-E325-11CE-BFC1-08002BE10318}
  9. Provider=%Provider%
  10. LayoutFile=layout.inf
  11. [ClassInstall32.NT]
  12. AddReg=mouse_class_addreg
  13. [mouse_class_addreg]
  14. HKR,,,,%MouseClassName%
  15. HKR,,Icon,,"-2"
  16. HKR,,Installer32,,"SysSetup.Dll,MouseClassInstaller"
  17. HKR,,NoInstallClass,,"1"
  18. HKR,,TroubleShooter-0,,"hcp://help/tshoot/hdw_mouse.htm"
  19. [DestinationDirs]
  20. DefaultDestDir = 12 ; DIRID_DRIVERS
  21. TrackPoint_UsrCopy = 11
  22. [ControlFlags]
  23. ; Exclude all bus mice and InPort mice for RISC platforms.
  24. ExcludeFromSelect.NTAlpha = *PNP0F11,*PNP0F00,*PNP0F15
  25. ;
  26. ; Mark any install sections for drivers that also control the i8042 keyboard port,
  27. ; so that we can warn the user that they may also be affecting their keyboard with
  28. ; a mouse driver change.
  29. ;
  30. SharedDriver=PS2_Inst,%PS2_Inst.SharedDriverMsg%
  31. SharedDriver=TrackPoint_Inst,%PS2_Inst.SharedDriverMsg%
  32. ; Manufacturer Sections
  33. ; ---------------------------------------------------------
  34. [Manufacturer]
  35. %StdMfg% =StdMfg ; (Standard types)
  36. %MSMfg% =MSMfg ; Microsoft
  37. %LogiMfg% =LogiMfg ; Logitech
  38. %IbmMfg%=IbmMfg ; IBM
  39. %CypressMfg% =CypressMfg ; Cypress
  40. %ELOMfg% =ELOMfg ; ELO Touchsystems
  41. %ChiconyMfg% =ChiconyMfg ; Chicony
  42. %NMBMfg% =NMBMfg ; NMB
  43. %STSLMfg% =STSLMfg ; STSL
  44. %SUPERGATEMfg% =SUPERGATEMfg ; SUPGERGATE
  45. %BTCMfg% =BTCMfg
  46. %FOCUSMfg%=FOCUSMfg
  47. %JINGMOLDMfg%=JINGMOLDMfg
  48. %MAXISWITCHMfg%=MAXISWITCHMfg
  49. %MONTEREYMfg%=MONTEREYMfg
  50. %ORTEKMfg%=ORTEKMfg
  51. %KeytronicMfg%=KEYTRONICMfg
  52. %GeniusMfg%=GeniusMfg
  53. %ItacMfg% =ItacMfg ; Itac Systems
  54. %SamsungMfg%=SamsungMfg ; Samsung
  55. %ForwardMfg%=ForwardMfg ; Forward
  56. %SUHMfg%=SUHMfg ; SUH DART
  57. %PhilipsMfg%=PhilipsMfg ; Philips
  58. %AnchorMfg%=AnchorMfg ; Anchor
  59. %SOLIDYEARMfg%=SOLIDYEARMfg ; Solid Year
  60. %NEC%=NECMfg ; NEC
  61. %FUJITSUMfg%=FUJITSUMfg ; Fujitsu
  62. %SEJINMfg%=SEJINMfg ; Sejin
  63. %DexinMfg%=DexinMfg ; Dexin
  64. %AcerMfg%=AcerMfg ; Acer
  65. %SilitekMfg%=SilitekMfg ; Silitek
  66. %QtronixMfg%=QtronixMfg ; Qtronix
  67. ; Microsoft
  68. [StdMfg]
  69. %*pnp0f0c.DeviceDesc% = Ser_Inst,*PNP0F0C,SERENUM\PNP0F0C,SERIAL_MOUSE ; Std serial mouse
  70. %*pnp0f0e.DeviceDesc% = PS2_Inst,*PNP0F0E,PS2_MOUSE ; Std PS/2 mouse
  71. %*AUI0200.DeviceDesc% = PS2_Inst,*AUI0200 ; Replace ALPS driver
  72. [LogiMfg]
  73. %*pnp0f08.DeviceDesc%=Ser_Inst,*PNP0F08, SERENUM\PNP0F08 ; Logi serial mouse
  74. %*pnp0f12.DeviceDesc%=PS2_Inst,*PNP0F12 ; Logi PS/2 mouse
  75. %SERENUM\LGI8001.DeviceDesc%=Ser_Inst,,SERENUM\LGI8001
  76. %SERENUM\LGI8002.DeviceDesc%=Ser_Inst,,SERENUM\LGI8002
  77. %SERENUM\LGI8003.DeviceDesc%=Ser_Inst,,SERENUM\LGI8003
  78. %SERENUM\LGI8005.DeviceDesc%=Ser_Inst,,SERENUM\LGI8005
  79. %SERENUM\LGI8006.DeviceDesc%=Ser_Inst,,SERENUM\LGI8006
  80. %SERENUM\LGI8007.DeviceDesc%=Ser_Inst,,SERENUM\LGI8007
  81. %SERENUM\LGI8008.DeviceDesc%=Ser_Inst,,SERENUM\LGI8008
  82. %SERENUM\LGI8009.DeviceDesc%=Ser_Inst,,SERENUM\LGI8009
  83. %SERENUM\LGI800A.DeviceDesc%=Ser_Inst,,SERENUM\LGI800A
  84. %SERENUM\LGI800B.DeviceDesc%=Ser_Inst,,SERENUM\LGI800B
  85. %SERENUM\LGI800C.DeviceDesc%=Ser_Inst,,SERENUM\LGI800C
  86. %SERENUM\LGI8011.DeviceDesc%=Ser_Inst,,SERENUM\LGI8011
  87. %SERENUM\LGI8012.DeviceDesc%=Ser_Inst,,SERENUM\LGI8012
  88. %SERENUM\LGI8013.DeviceDesc%=Ser_Inst,,SERENUM\LGI8013
  89. %SERENUM\LGI8032.DeviceDesc%=Ser_Inst,,SERENUM\LGI8032
  90. %SERENUM\LGI8033.DeviceDesc%=Ser_Inst,,SERENUM\LGI8033
  91. %SERENUM\LGI8048.DeviceDesc%=Ser_Inst,,SERENUM\LGI8048
  92. %SERENUM\LGI8049.DeviceDesc%=Ser_Inst,,SERENUM\LGI8049
  93. %SERENUM\LGI804B.DeviceDesc%=Ser_Inst,,SERENUM\LGI804B
  94. %SERENUM\LGI8050.DeviceDesc%=Ser_Inst,,SERENUM\LGI8050
  95. %SERENUM\LGI8051.DeviceDesc%=Ser_Inst,,SERENUM\LGI8051
  96. %HID\VID_046D&PID_C000.DeviceDesc%=HID_Mouse_Inst, HID\VID_046D&PID_C000
  97. %HID\VID_046D&PID_C001.DeviceDesc%=HID_Mouse_Inst, HID\VID_046D&PID_C001
  98. %HID\VID_046D&PID_C002.DeviceDesc%=HID_Mouse_Inst, HID\VID_046D&PID_C002
  99. %HID\VID_046D&PID_C003.DeviceDesc%=HID_Mouse_Inst, HID\VID_046D&PID_C003
  100. %HID\VID_046D&PID_C004.DeviceDesc%=HID_Mouse_Inst, HID\VID_046D&PID_C004
  101. %HID\VID_046D&PID_C005.DeviceDesc%=HID_Mouse_Inst, HID\VID_046D&PID_C005
  102. %HID\VID_046D&PID_C00B.DeviceDesc%=HID_Mouse_Inst, HID\VID_046D&PID_C00B
  103. %HID\VID_046D&PID_C00C.DeviceDesc%=HID_Mouse_Inst, HID\VID_046D&PID_C00C
  104. %HID\VID_046D&PID_C00D.DeviceDesc%=HID_Mouse_Inst, HID\VID_046D&PID_C00D
  105. %HID\VID_046D&PID_C00E.DeviceDesc%=HID_Mouse_Inst, HID\VID_046D&PID_C00E
  106. %HID\VID_046D&PID_C030.DeviceDesc%=HID_Mouse_Inst, HID\VID_046D&PID_C030
  107. %HID\VID_046D&PID_C031.DeviceDesc%=HID_Mouse_Inst, HID\VID_046D&PID_C031
  108. %HID\VID_046D&PID_C032.DeviceDesc%=HID_Mouse_Inst, HID\VID_046D&PID_C032
  109. %HID\VID_046D&PID_C033.DeviceDesc%=HID_Mouse_Inst, HID\VID_046D&PID_C033
  110. %HID\VID_046D&PID_C401.DeviceDesc%=HID_Mouse_Inst, HID\VID_046D&PID_C401
  111. %HID\VID_046D&PID_C402.DeviceDesc%=HID_Mouse_Inst, HID\VID_046D&PID_C402
  112. %HID\VID_046D&PID_C403.DeviceDesc%=HID_Mouse_Inst, HID\VID_046D&PID_C403
  113. %HID\VID_046D&PID_C404.DeviceDesc%=HID_Mouse_Inst, HID\VID_046D&PID_C404
  114. %HID\VID_046D&PID_C501.DeviceDesc%=HID_Mouse_Inst, HID\VID_046D&PID_C501
  115. %HID\VID_046D&PID_C502&MI_01&Col01.DeviceDesc%=HID_Mouse_Inst, HID\VID_046D&PID_C502&MI_01&Col01
  116. %HID\VID_046D&PID_C502&MI_01&Col04.DeviceDesc%=HID_Mouse_Inst, HID\VID_046D&PID_C502&MI_01&Col04
  117. [IbmMfg]
  118. %*IBM3780.DeviceDesc%=TrackPoint_Inst,, *IBM3780,*IBM3781
  119. [CypressMfg]
  120. %HID\VID_04B4&PID_0001.DeviceDesc%=HID_Mouse_Inst,, HID\VID_04B4&PID_0001
  121. [ELOMfg]
  122. %HID\VID_04E7&PID_0001.DeviceDesc%=HID_Mouse_Absolute_Inst,, HID\VID_04E7&PID_0001
  123. [ChiconyMfg]
  124. %HID\VID_04F2&PID_0001&MI_01.DeviceDesc%=HID_Mouse_Inst,, HID\VID_04F2&PID_0001&MI_01
  125. [NMBMfg]
  126. %HID\VID_0446&PID_6781&MI_01.DeviceDesc%=HID_Mouse_Inst,, HID\VID_0446&PID_6781&MI_01
  127. [STSLMfg]
  128. %HID\VID_05FA&PID_3301&MI_01.DeviceDesc%=HID_Mouse_Inst,, HID\VID_05FA&PID_3301&MI_01
  129. %HID\VID_05FA&PID_3303&MI_01.DeviceDesc%=HID_Mouse_Inst,, HID\VID_05FA&PID_3303&MI_01
  130. [SUPERGATEMfg]
  131. %HID\VID_05d5&PID_6782&MI_01.DeviceDesc%=HID_Mouse_Inst,, HID\VID_05d5&PID_6782&MI_01
  132. [KEYTRONICMfg]
  133. %HID\VID_03F9&PID_0102&MI_01.DeviceDesc%=HID_Mouse_Inst,, HID\VID_03F9&PID_0102&MI_01
  134. [GeniusMfg]
  135. %HID\VID_0458&PID_0001.DeviceDesc%=HID_Mouse_Inst,, HID\VID_0458&PID_0001
  136. %HID\VID_0458&PID_0002.DeviceDesc%=HID_Mouse_Inst,, HID\VID_0458&PID_0002
  137. %HID\VID_0458&PID_0003.DeviceDesc%=HID_Mouse_Inst,, HID\VID_0458&PID_0003
  138. [ItacMfg]
  139. %HID\VID_0431&PID_0100.DeviceDesc%=HID_Mouse_Inst,, HID\VID_0431&PID_0100
  140. [SamsungMfg]
  141. %HID\VID_055D&PID_6781&MI_01.DeviceDesc%=HID_Mouse_Inst,, HID\VID_055D&PID_6781&MI_01
  142. [ForwardMfg]
  143. %HID\VID_05BC&PID_0001&MI_01.DeviceDesc%=HID_Mouse_Inst,, HID\VID_05BC&PID_0001&MI_01
  144. [SUHMfg]
  145. %HID\VID_0500&PID_0001&MI_01.DeviceDesc%=HID_Mouse_Inst,, HID\VID_0500&PID_0001&MI_01
  146. [BTCMfg]
  147. %HID\VID_046E&PID_6782&MI_01&Col01.DeviceDesc%=HID_Mouse_Inst,, HID\VID_046E&PID_6782&MI_01&Col01
  148. [FOCUSMfg]
  149. %HID\VID_05B2&PID_7200&MI_01.DeviceDesc%=HID_Mouse_Inst,, HID\VID_05B2&PID_7200&MI_01
  150. [JINGMOLDMfg]
  151. %HID\VID_05AF&PID_9267&MI_01.DeviceDesc%=HID_Mouse_Inst,, HID\VID_05AF&PID_9267&MI_01
  152. [MAXISWITCHMfg]
  153. %HID\VID_04C3&PID_1102&MI_01.DeviceDesc%=HID_Mouse_Inst,, HID\VID_04C3&PID_1102&MI_01
  154. %HID\VID_04C3&PID_2102&MI_01.DeviceDesc%=HID_Mouse_Inst,, HID\VID_04C3&PID_2102&MI_01
  155. [MONTEREYMfg]
  156. %HID\VID_0566&PID_2801&MI_01.DeviceDesc%=HID_Mouse_Inst,, HID\VID_0566&PID_2801&MI_01
  157. [ORTEKMfg]
  158. %HID\VID_05A4&PID_9720&MI_01.DeviceDesc%=HID_Mouse_Inst,, HID\VID_05A4&PID_9720&MI_01
  159. [PhilipsMfg]
  160. %HID\VID_0471&PID_0601&MI_01.DeviceDesc%=HID_Mouse_Inst,, HID\VID_0471&PID_0601&MI_01
  161. %HID\VID_0471&PID_0402&MI_01.DeviceDesc%=HID_Mouse_Inst,, HID\VID_0471&PID_0402&MI_01
  162. [AnchorMfg]
  163. %HID\VID_0605&PID_0001.DeviceDesc%=HID_Mouse_Inst,, HID\VID_0605&PID_0001
  164. [NECMfg]
  165. %HID\VID_0409&PID_0014&MI_01.DeviceDesc%=HID_Mouse_Inst,, HID\VID_0409&PID_0014&MI_01
  166. %HID\VID_0409&PID_0011&MI_01.DeviceDesc%=HID_Mouse_Inst,, HID\VID_0409&PID_0011&MI_01
  167. [SOLIDYEARMfg]
  168. %HID\VID_060B&PID_2101&MI_01.DeviceDesc%=HID_Mouse_Inst,, HID\VID_060B&PID_2101&MI_01
  169. [FUJITSUMfg]
  170. %HID\VID_0430&PID_0002&MI_01.DeviceDesc%=HID_Mouse_Inst,, HID\VID_0430&PID_0002&MI_01
  171. [SEJINMfg]
  172. %HID\VID_0510&PID_E001.DeviceDesc%=HID_Mouse_Inst,, HID\VID_0510&PID_E001
  173. %HID\VID_0510&PID_1000&MI_01.DeviceDesc%=HID_Mouse_Inst,, HID\VID_0510&PID_1000&MI_01
  174. [DexinMfg]
  175. %HID\VID_05F2&PID_0010.DeviceDesc%=HID_Mouse_Inst,, HID\VID_05F2&PID_0010
  176. [AcerMfg]
  177. %HID\VID_04A5&PID_0003&MI_01.DeviceDesc%=HID_Mouse_Inst,, HID\VID_04A5&PID_0003&MI_01
  178. [SilitekMfg]
  179. %HID\VID_047B&PID_0002&MI_01.DeviceDesc%=HID_Mouse_Inst,, HID\VID_047B&PID_0002&MI_01
  180. [QtronixMfg]
  181. %HID\VID_05C7&PID_1001.DeviceDesc%=HID_Mouse_Inst,, HID\VID_05C7&PID_1001
  182. [MSMfg]
  183. ; %*pnp0f00.DeviceDesc%=Bus_Inst,*PNP0F00 ; MS bus mouse
  184. %*pnp0f03.DeviceDesc%=PS2_Inst,*PNP0F03 ; MS PS/2 mouse
  185. %*pnp0f0b.DeviceDesc%=PS2_Inst,*PNP0F0B ; MS PS/2 mouse
  186. %*pnp0f13.DeviceDesc%=PS2_Inst,*PNP0F13 ; MS PS/2 mouse
  187. %*pnp0f01.DeviceDesc%=Ser_Inst,*PNP0F01,SERENUM\PNP0F01 ; MS serial mouse
  188. %*pnp0f09.DeviceDesc%=Ser_Inst,*PNP0F09,SERENUM\PNP0F09 ; MS serial BallPoint
  189. %*pnp0f0f.DeviceDesc%=Ser_Inst,*PNP0F0F,SERENUM\PNP0F0F ; MS serial BallPoint
  190. %*pnp0f0a.DeviceDesc%=Ser_Inst,*PNP0F0A ; MS serial wheel mouse
  191. %*pnp0f1e.DeviceDesc%=Ser_Inst,,*PNP0F1E,SERENUM\PNP0F1E ; MS serial EasyBall
  192. %*SERENUM\MSH0001.DeviceDesc%=Ser_Inst,,SERENUM\MSH0001, MSH0001 ; MS serial wheelmouse
  193. %*SERENUM\MSH0004.DeviceDesc%=Ser_Inst,,SERENUM\MSH0004, MSH0004 ; MS serial track ball mouse
  194. %HID\Vid_045E&Pid_0009.DeviceDesc%=HID_Mouse_Inst,, HID\Vid_045E&Pid_0009
  195. %HID\Vid_045E&Pid_001E.DeviceDesc%=HID_Mouse_Inst,, HID\Vid_045E&Pid_001E
  196. %HID\Vid_045E&Pid_0023.DeviceDesc%=HID_Mouse_Inst,, HID\Vid_045E&Pid_0023
  197. %HID\Vid_045E&Pid_0024.DeviceDesc%=HID_Mouse_Inst,, HID\Vid_045E&Pid_0024
  198. %HID\Vid_045E&Pid_0025.DeviceDesc%=HID_Mouse_Inst,, HID\Vid_045E&Pid_0025
  199. %HID\Vid_045E&Pid_0029.DeviceDesc%=HID_Mouse_Inst,, HID\Vid_045E&Pid_0029
  200. %HID\Vid_045E&Pid_0039.DeviceDesc%=HID_Mouse_Inst,, HID\Vid_045E&Pid_0039
  201. %HID\Vid_045E&Pid_0040.DeviceDesc%=HID_Mouse_Inst,, HID\Vid_045E&Pid_0040
  202. %HID\Vid_045E&Pid_0047.DeviceDesc%=HID_Mouse_Inst,, HID\Vid_045E&Pid_0047
  203. %HID\VID_045E&PID_0059.DeviceDesc%=HID_Mouse_Inst,, HID\VID_045E&PID_0059&Col01
  204. ; Generic Mouse
  205. %HID.MouseDevice%=HID_Mouse_Inst,,HID_DEVICE_SYSTEM_MOUSE
  206. ; Install Sections
  207. ; ---------------------------------------------------------
  208. ; -------------- Mouse Class Driver install sections
  209. [mouclass_CopyFiles]
  210. mouclass.sys
  211. [mouclass_Service_Inst]
  212. DisplayName = %mouclass.SvcDesc%
  213. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  214. StartType = 1 ; SERVICE_SYSTEM_START
  215. ErrorControl = 1 ; SERVICE_ERROR_NORMAL
  216. ServiceBinary = %12%\mouclass.sys
  217. LoadOrderGroup = Pointer Class
  218. [mouclass_EventLog_Inst]
  219. AddReg = mouclass_EventLog_AddReg
  220. [mouclass_EventLog_AddReg]
  221. HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\mouclass.sys"
  222. HKR,,TypesSupported,0x00010001,7
  223. ; -------------- Serial Mouse
  224. [Ser_Inst]
  225. CopyFiles = Ser_CopyFiles, mouclass_CopyFiles
  226. [Ser_Inst.MigrateToDevnode]
  227. sermouse=NumberOfButtons,SampleRate
  228. [Ser_Inst.HW]
  229. AddReg = Ser_Inst.HW.AddReg
  230. [Ser_Inst.HW.AddReg]
  231. HKR,,"NumberOfButtons",0x00010003,2
  232. HKR,,"SampleRate",0x00010003,40
  233. ; To turn off mouse removal detection, uncomment the following line
  234. ; HKR,,"WaitEventMask",0x00010001,0xFFFFFFFF
  235. [Ser_Inst.Services]
  236. AddService = sermouse, 0x00000002, sermouse_Service_Inst, sermouse_EventLog_Inst ; Port Driver
  237. AddService = mouclass,, mouclass_Service_Inst, mouclass_EventLog_Inst ; Class Driver
  238. [Ser_CopyFiles]
  239. sermouse.sys
  240. [sermouse_Service_Inst]
  241. DisplayName = %sermouse.SvcDesc%
  242. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  243. StartType = 3 ; SERVICE_SYSTEM_MANUAL
  244. ErrorControl = 1 ; SERVICE_ERROR_NORMAL
  245. ServiceBinary = %12%\sermouse.sys
  246. LoadOrderGroup = Pointer Port
  247. [sermouse_EventLog_Inst]
  248. AddReg = sermouse_EventLog_AddReg
  249. [sermouse_EventLog_AddReg]
  250. HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\sermouse.sys"
  251. HKR,,TypesSupported,0x00010001,7
  252. ; -------------- PS/2 Mouse
  253. [PS2_Inst]
  254. CopyFiles = PS2_CopyFiles, mouclass_CopyFiles
  255. AddReg = PS2_Inst.AddReg
  256. [PS2_Inst.AddReg]
  257. HKR,,EnumPropPages32,,"syssetup.dll,PS2MousePropPageProvider"
  258. HKR,,LocationInformationOverride,,%LocationOverride%
  259. [PS2_Inst.MigrateToDevnode]
  260. i8042prt=EnableWheelDetection,MouseDataQueueSize,MouseResolution,MouseSynchIn100ns,NumberOfButtons,SampleRate
  261. [PS2_Inst.HW]
  262. AddReg = PS2_Inst.HW.AddReg
  263. [PS2_Inst.HW.AddReg]
  264. HKR,,"EnableWheelDetection",0x00010003,2
  265. HKR,,"MouseDataQueueSize",0x00010003,100
  266. HKR,,"MouseResolution",0x00010003,3
  267. HKR,,"MouseSynchIn100ns",0x00010003,20000000
  268. ; HKR,,"NumberOfButtons",0x00010003,2
  269. HKR,,"SampleRate",0x00010003,100
  270. HKR,,"WheelDetectionTimeout",0x00010003,1500
  271. ; If your mouse can't support init through the interrupt (ie it is too fast),
  272. ; uncomment the 2 lines below and comment out the MouseInitializedPolled set to 0 line
  273. ; HKR,,"DisableInitializePolledUI",0x00010001,1
  274. ; HKR,,"MouseInitializePolled",0x00010001,1
  275. HKR,,"MouseInitializePolled",0x00010003,0
  276. ; global to i8042prt.sys (affects both keyboard and mouse)
  277. HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt\Parameters","PollingIterations",0x00010003,12000
  278. HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt\Parameters","PollingIterationsMaximum",0x00010003,12000
  279. HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt\Parameters","ResendIterations",0x00010003,3
  280. [PS2_Inst.Services]
  281. AddService = i8042prt, 0x00000002, i8042prt_Service_Inst, i8042prt_EventLog_Inst ; Port Driver
  282. AddService = mouclass,, mouclass_Service_Inst, mouclass_EventLog_Inst ; Class Driver
  283. [PS2_CopyFiles]
  284. i8042prt.sys
  285. [PS2_Inst.NoInterruptInit]
  286. AddReg = PS2_Inst.NoInterruptInit.AddReg
  287. [PS2_Inst.NoInterruptInit.AddReg]
  288. HKR,,"DisableInitializePolledUI",0x00010001,1
  289. HKR,,"MouseInitializePolled",0x00010001,1
  290. [PS2_Inst.NoInterruptInit.Bioses]
  291. Disable=HINOTE ULTRA II
  292. [i8042prt_Service_Inst]
  293. DisplayName = %i8042prt.SvcDesc%
  294. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  295. StartType = 1 ; SERVICE_SYSTEM_START
  296. ErrorControl = 1 ; SERVICE_ERROR_NORMAL
  297. ServiceBinary = %12%\i8042prt.sys
  298. LoadOrderGroup = Keyboard Port
  299. [i8042prt_EventLog_Inst]
  300. AddReg = i8042prt_EventLog_AddReg
  301. [i8042prt_EventLog_AddReg]
  302. HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\i8042prt.sys"
  303. HKR,,TypesSupported,0x00010001,7
  304. ; -------------------- TrackPoint PS/2 Mouse
  305. [TrackPoint_Inst]
  306. Needs=PS2_Inst
  307. AddReg = TrackPoint_AddReg,TrackPoint_AddTp4Mon
  308. CopyFiles = TrackPoint_CopyFiles,TrackPoint_UsrCopy
  309. [TrackPoint_AddReg]
  310. HKCR,"CLSID\{A8BD5E40-B686-11D0-BD54-0004AC25B162}","",0x00000002,"Mouse CPL TrackPoint Extension"
  311. HKCR,"CLSID\{A8BD5E40-B686-11D0-BD54-0004AC25B162}\InProcServer32","",0x00000002,"tp4.dll"
  312. HKCR,"CLSID\{A8BD5E40-B686-11D0-BD54-0004AC25B162}\InProcServer32","ThreadingModel",0x00000002,"Apartment"
  313. HKLM,"SOFTWARE\Microsoft\Windows\CurrentVersion\Controls Folder\Mouse\shellex\PropertySheetHandlers\Mouse CPL TrackPoint Extension","",0x00000002,"{A8BD5E40-B686-11D0-BD54-0004AC25B162}"
  314. [TrackPoint_AddTp4Mon]
  315. HKLM,Software\Microsoft\Windows\CurrentVersion\Run,TrackPointSrv,0,"tp4mon.exe"
  316. [TrackPoint_Inst.MigrateToDevnode]
  317. i8042prt=EnableWheelDetection,MouseDataQueueSize,MouseResolution,MouseSynchIn100ns,NumberOfButtons,SampleRate
  318. [TrackPoint_Inst.HW]
  319. Needs=PS2_Inst.HW
  320. AddReg=TrackPoint_AddReg.HW
  321. [TrackPoint_AddReg.HW]
  322. HKR,,"UpperFilters",0x00010000,"TwoTrack"
  323. [TrackPoint_CopyFiles]
  324. TwoTrack.sys
  325. [TrackPoint_UsrCopy]
  326. tp4mon.exe
  327. tp4.dll
  328. tp4.hlp
  329. tp4res.dll
  330. [TrackPoint_Inst.Services]
  331. Needs=PS2_Inst.Services
  332. AddService = TwoTrack, , TwoTrack_Service_Inst
  333. [TwoTrack_Service_Inst]
  334. DisplayName = %TwoTrack.SvcDesc%
  335. ServiceType = 1 ; SERVICE_KERNEL_DRIVER
  336. StartType = 3 ; SERVICE_DEMAND_START
  337. ErrorControl = 1 ; SERVICE_ERROR_NORMAL
  338. ServiceBinary = %12%\TwoTrack.sys
  339. LoadOrderGroup = PNP Filter
  340. Tag = 1
  341. ;
  342. ; This section is used during startup by the Windows NT Plug&Play Manager
  343. ; to simulate enumeration of the mouse based on information retrieved from
  344. ; ARC firmware/NTDETECT.
  345. ;
  346. [LegacyXlate.DevId]
  347. PS2_MOUSE = *PNP0F0E ; Std PS/2 mouse i8042prt
  348. SERIAL_MOUSE = *PNP0F0C ; Std serial mouse sermouse
  349. MICROSOFT_PS2_MOUSE = *PNP0F03 ; MS PS/2 mouse i8042prt
  350. LOGITECH_PS2_MOUSE = *PNP0F12 ; Logi PS/2 mouse i8042prt
  351. MICROSOFT_SERIAL_MOUSE = *PNP0F01 ; MS serial mouse sermouse
  352. MICROSOFT_BALLPOINT_SERIAL_MOUSE = *PNP0F09 ; MS serial BallPoint sermouse
  353. LOGITECH_SERIAL_MOUSE = *PNP0F08 ; Logi serial mouse sermouse
  354. ;
  355. ; This section is used during fresh install/upgrade to determine what Win95-style
  356. ; INF install section to associate with the currently installed mouse driver.
  357. ;
  358. [LegacyXlate.Driver]
  359. i8042prt = PS2_Inst
  360. sermouse = Ser_Inst
  361. ;=====================================================================
  362. [HID_Mouse_Inst.NT]
  363. Copyfiles = HID_Mouse_Inst.CopyFiles.NT
  364. [HID_Mouse_Inst.NT.HW]
  365. AddReg = HID_Mouse_Inst.AddReg.NT
  366. [HID_Mouse_Inst.AddReg.NT]
  367. HKR,,"FlipFlopWheel",0x00010001,0
  368. HKR,,"ForceAbsolute",0x00010001,0
  369. [HID_Mouse_Inst.CopyFiles.NT]
  370. mouhid.sys
  371. mouclass.sys
  372. [HID_Mouse_Inst.NT.Services]
  373. AddService = mouhid,%SPSVCINST_ASSOCSERVICE%,MouHid_Service_Inst,MouHid_EventLog_Inst ; Port Driver
  374. AddService = mouclass,, mouclass_Service_Inst, mouclass_EventLog_Inst ; Class Driver
  375. [MouHid_EventLog_Inst]
  376. AddReg = MouHid_EventLog_AddReg
  377. [MouHid_EventLog_AddReg]
  378. HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\mouhid.sys"
  379. HKR,,TypesSupported,0x00010001,7
  380. ;=====================================================================
  381. [HID_Mouse_Inst_WhFlip.NT]
  382. Copyfiles = HID_Mouse_Inst.CopyFiles.NT
  383. [HID_Mouse_Inst_WhFlip.NT.HW]
  384. AddReg = HID_Mouse_Inst_WhFlip.AddReg.NT
  385. [HID_Mouse_Inst_WhFlip.AddReg.NT]
  386. HKR,,"FlipFlopWheel",0x00010001,1
  387. HKR,,"ForceAbsolute",0x00010001,0
  388. [HID_Mouse_Inst_WhFlip.NT.Services]
  389. AddService = mouhid,%SPSVCINST_ASSOCSERVICE%,MouHid_Service_Inst
  390. ;=====================================================================
  391. [HID_Mouse_Absolute_Inst.NT]
  392. Copyfiles = HID_Mouse_Inst.CopyFiles.NT
  393. [HID_Mouse_Absolute_Inst.NT.HW]
  394. AddReg = HID_Mouse_Inst.AddReg.NT
  395. [HID_Mouse_Absolute_Inst.AddReg.NT]
  396. HKR,,"FlipFlopWheel",0x00010001,0
  397. HKR,,"ForceAbsolute",0x00010001,1
  398. [HID_Mouse_Absolute_Inst.CopyFiles.NT]
  399. mouhid.sys
  400. mouclass.sys
  401. [HID_Mouse_Absolute_Inst.NT.Services]
  402. AddService = mouhid,%SPSVCINST_ASSOCSERVICE%,MouHid_Service_Inst
  403. ;=================================================================================
  404. [MouHid_Service_Inst]
  405. DisplayName = %MOUHID.SvcDesc%
  406. ServiceType = %SERVICE_KERNEL_DRIVER%
  407. StartType = 3; %SERVICE_SYSTEM_START%
  408. ErrorControl = %SERVICE_ERROR_IGNORE%
  409. ServiceBinary = %12%\mouhid.sys
  410. LoadOrderGroup = Pointer Port
  411. AddReg = MouHid_Service_Inst_AddReg
  412. [MouHid_Service_Inst_AddReg]
  413. HKR,"Parameters","UseOnlyMice",0x00010001,0
  414. HKR,"Parameters","TreatAbsoluteAsRelative",0x00010001,0
  415. HKR,"Parameters","TreatAbsolutePointerAsAbsolute",0x00010001,0
  416. ; Included by OEM / 3rd party INFs to install mouclass
  417. [MouClass.Services]
  418. AddService = mouclass,, mouclass_Service_Inst, mouclass_EventLog_Inst ; Class Driver