Usurp <petreolle@users.sourceforge.net>:
[reactos.git] / reactos / media / inf / msmouse.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/08/2005,1.01.0.0
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 %IbmMfg% = IbmMfg
29 %LogMfg% = LogMfg
30 %MSMfg% = MSMfg
31
32 [StdMfg]
33 %SERIAL_MOUSE.DeviceDesc% = Serial_Inst,*PNP0F0C,SERENUM\PNP0F0C,*PNP0F17,SERENUM\PNP0F17,SERIAL_MOUSE
34 %PS2_MOUSE.DeviceDesc% = PS2_Inst,*PNP0F0E,*PNP0F19,PS2_MOUSE
35 %HID_MOUSE.DeviceDesc% = HID_Inst,HID_DEVICE_SYSTEM_MOUSE
36 %*PNP0F13.DeviceDesc% = PS2_Inst,*PNP0F13
37
38 [IbmMfg]
39 *IBM3780.DeviceDesc = PS2_Inst,*IBM3780
40
41 [LogMfg]
42 %*PNP0F08.DeviceDesc% = Serial_Inst,*PNP0F08,SERENUM\PNP0F08
43 %*PNP0F12.DeviceDesc% = PS2_Inst,*PNP0F12
44
45 [MSMfg]
46 %*PNP0F01.DeviceDesc% = Serial_Inst,*PNP0F01,SERENUM\PNP0F01
47 %*PNP0F03.DeviceDesc% = PS2_Inst,*PNP0F03
48
49 ;---------------------------- MOUCLASS DRIVER ---------------------------
50
51 [Mouclass_CopyFiles.NT]
52 mouclass.sys
53
54 [mouclass_Service_Inst]
55 ServiceType = 1
56 StartType = 1
57 ErrorControl = 1
58 ServiceBinary = %12%\mouclass.sys
59 LoadOrderGroup = Pointer Class
60
61 ;----------------------------- SERIAL DRIVER ----------------------------
62
63 [Serial_Inst.NT]
64 CopyFiles = Serial_CopyFiles.NT, Mouclass_CopyFiles.NT
65
66 [Serial_CopyFiles.NT]
67 sermouse.sys
68
69 [Serial_Inst.NT.Services]
70 AddService = sermouse, 0x00000002, sermouse_Service_Inst
71 AddService = mouclass, , mouclass_Service_Inst
72
73 [sermouse_Service_Inst]
74 ServiceType = 1
75 StartType = 1
76 ErrorControl = 1
77 ServiceBinary = %12%\sermouse.sys
78 LoadOrderGroup = Pointer Port
79
80 ;------------------------------ PS/2 DRIVER -----------------------------
81
82 [PS2_Inst.NT]
83 CopyFiles = PS2_CopyFiles.NT, Mouclass_CopyFiles.NT
84 AddReg = PS2_AddReg
85
86 [PS2_CopyFiles.NT]
87 i8042prt.sys
88
89 [PS2_Inst.NT.Services]
90 ;DO NOT INSTALL i8042prt driver, as long as it is not PnP-compatible
91 ;AddService = i8042prt, 0x00000002, i8042prt_Service_Inst
92 AddService = , 0x00000002
93 AddService = mouclass, , mouclass_Service_Inst
94
95 [i8042prt_Service_Inst]
96 ServiceType = 1
97 StartType = 3
98 ErrorControl = 1
99 ServiceBinary = %12%\i8042prt.sys
100 LoadOrderGroup = Keyboard Port
101
102 [PS2_AddReg]
103 HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt\Parameters","SampleRate",0x00010001,0x0000003c
104 HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt\Parameters","BreakOnSysRq",0x00010001,0x00000001
105 HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt\Parameters","MouseResolution",0x00010001,0x00000003
106
107 ;---------------------------- HID MOUSE DRIVER --------------------------
108
109 [HID_Inst.NT]
110 CopyFiles = HID_CopyFiles.NT, Mouclass_CopyFiles.NT
111
112 [HID_CopyFiles]
113 mouhid.sys
114
115 [HID_Inst.NT.Services]
116 AddService = mouhid, 0x00000002, mouhid_Service_Inst
117 AddService = mouclass, , mouclass_Service_Inst
118
119 [mouhid_Service_Inst]
120 ServiceType = 1
121 StartType = 3
122 ErrorControl = 0
123 ServiceBinary = %12%\mouhid.sys
124 LoadOrderGroup = Pointer Port
125
126 ;-------------------------------- STRINGS -------------------------------
127
128 [Strings]
129 ReactOS = "ReactOS Team"
130 MouseClassName = "Mice and other pointing devices"
131
132 StdMfg = "(Standard mice)"
133 SERIAL_MOUSE.DeviceDesc = "Standard Serial Mouse"
134 PS2_MOUSE.DeviceDesc = "Standard PS/2 Mouse"
135 HID_MOUSE.DeviceDesc = "HID Mouse"
136 *PNP0F13.DeviceDesc = "PS/2 port for PS/2-style mice"
137
138 IbmMfg = "IBM"
139 *IBM3780.DeviceDesc = "IBM PS/2 Trackpoint"
140
141 LogMfg = "Logitech"
142 *PNP0F08.DeviceDesc = "Logitech Serial Mouse"
143 *PNP0F12.DeviceDesc = "Logitech PS/2-style Mouse"
144
145 MSMfg = "Microsoft"
146 *PNP0F01.DeviceDesc = "Microsoft Serial Mouse"
147 *PNP0F03.DeviceDesc = "Microsoft PS/2-style Mouse"