Move serial ports and mice classes parameters to their own .inf files. They would...
[reactos.git] / reactos / media / inf / mouse.inf
1 ; MOUSE.INF
2
3 ; Installation file for mouse devices
4
5 [Version]
6 Signature = "$Windows NT$"
7 ;Signature = "$ReactOS$"
8 LayoutFile = layout.inf
9 Class = Mouse
10 ClassGUID = {4D36E96F-E325-11CE-BFC1-08002BE10318}
11 Provider = %ReactOS%
12 DriverVer = 10/19/1999,5.00.2157.1
13
14 [DestinationDirs]
15 DefaultDestDir = 12
16
17 [ClassInstall32.NT]
18 AddReg = MouseClass.NT.AddReg
19
20 [MouseClass.NT.AddReg]
21 HKR, , , 0, %MouseClassName%
22 HKR, , Icon, 0, "-2"
23 HKR, , Installer32, 0, "syssetup.dll,MouseClassInstaller"
24 HKR, , NoInstallClass, 0, 1
25
26 [Manufacturer]
27 %StdMfg% = StdMfg
28 %LogMfg = LogMsf
29 %MSMfg% = MSMfg
30
31 [StdMfg]
32 %SERIAL_MOUSE.DeviceDesc% = Serial_Inst,*PNP0F0C,SERENUM\PNP0F0C,*PNP0F17,SERENUM\PNP0F17,SERIAL_MOUSE
33 %PS2_MOUSE.DeviceDesc% = PS2_Inst,*PNP0F0E,*PNP0F19,PS2_MOUSE
34
35 [LogMfg]
36 %*PNP0F08.DeviceDesc% = Serial_Inst,*PNP0F08,SERENUM\PNP0F08
37 %*PNP0F12.DeviceDesc% = PS2_Inst,*PNP0F12
38
39 [MSMfg]
40 %*PNP0F01.DeviceDesc% = Serial_Inst,*PNP0F01,SERENUM\PNP0F01
41 %*PNP0F03.DeviceDesc% = PS2_Inst,*PNP0F03
42 %*PNP0F13.DeviceDesc" = PS2_Inst,*PNP0F13
43
44 ;---------------------------- MOUCLASS DRIVER ---------------------------
45
46 [Mouclass_CopyFiles.NT]
47 mouclass.sys
48
49 [mouclass_Service_Inst]
50 ServiceType = 1
51 StartType = 3
52 ErrorControl = 1
53 ServiceBinary = %12%\mouclass.sys
54 LoadOrderGroup = Pointer Class
55
56 ;----------------------------- SERIAL DRIVER ----------------------------
57
58 [Serial_Inst.NT]
59 CopyFiles = Serial_CopyFiles, Mouclass_CopyFiles
60
61 [Serial_CopyFiles.NT]
62 sermouse.sys
63
64 [Serial_Inst.NT.Services]
65 AddService = sermouse, 0x00000002, sermouse_Service_Inst
66 AddService = mouclass, , mouclass_Service_Inst
67
68 [sermouse_Service_Inst]
69 ServiceType = 1
70 StartType = 1
71 ErrorControl = 1
72 ServiceBinary = %12%\sermouse.sys
73 LoadOrderGroup = Pointer Port
74
75 ;------------------------------ PS/2 DRIVER -----------------------------
76
77 [PS2_Inst.NT]
78 CopyFiles = PS2_CopyFiles, Mouclass_CopyFiles
79 AddReg = PS2_AddReg
80
81 [PS2_CopyFiles.NT]
82 i8042prt.sys
83
84 [PS2_Inst.NT.Services]
85 AddService = i8042prt, 0x00000002, i8042prt_Service_Inst
86 AddService = mouclass, , mouclass_Service_Inst
87
88 [i8042prt_Service_Inst]
89 ServiceType = 1
90 StartType = 1
91 ErrorControl = 1
92 ServiceBinary = %12%\i8042prt.sys
93 LoadOrderGroup = Keyboard Port
94
95 [PS2_AddReg]
96 HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt\Parameters","SampleRate",0x00010001,0x0000003c
97 HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt\Parameters","BreakOnSysRq",0x00010001,0x00000001
98 HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt\Parameters","MouseResolution",0x00010001,0x00000003
99
100 ;-------------------------------- STRINGS -------------------------------
101
102 [Strings]
103 ReactOS = "ReactOS Team"
104 MouseClassName = "Mice and other pointing devices"
105 StdMfg = "(Standard mice)"
106 LogMfg = "Logitech"
107 MSMfg = "Microsoft"
108
109 *PNP0F01.DeviceDesc = "Microsoft Serial Mouse"
110 *PNP0F03.DeviceDesc = "Microsoft PS/2-style Mouse"
111 *PNP0F08.DeviceDesc = "Logitech Serial Mouse"
112 *PNP0F12.DeviceDesc = "Logitech PS/2-style Mouse"
113 *PNP0F13.DeviceDesc = "PS/2 port for PS/2-style mice"
114 SERIAL_MOUSE.DeviceDesc = "Standard Serial Mouse"
115 PS2_MOUSE.DeviceDesc = "Standard PS/2 Mouse"
116
117 [String.040c]
118 MouseClassName = "Souris et autres dispositifs de pointage"
119 StdMfg = "(Souris standard)"
120
121 *PNP0F01.DeviceDesc = "Souris Microsoft sur port série"
122 *PNP0F03.DeviceDesc = "Souris Microsoft sur port PS/2"
123 *PNP0F08.DeviceDesc = "Souris Logitech sur port série"
124 *PNP0F12.DeviceDesc = "Souris Logitech sur port PS/2"
125 *PNP0F13.DeviceDesc = "Souris compatible PS/2"
126 SERIAL_MOUSE.DeviceDesc = "Souris standard sur port série"
127 PS2_MOUSE.DeviceDesc = "Souris standard sur port PS/2"