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.

515 lines
21 KiB

  1. ; Copyright (c) Microsoft Corporation. All rights reserved.
  2. [version]
  3. signature="$Windows NT$"
  4. Class=Keyboard
  5. ClassGUID={4D36E96B-E325-11CE-BFC1-08002BE10318}
  6. Provider=%MS%
  7. LayoutFile=layout.inf
  8. [ClassInstall32.NT]
  9. AddReg=keyboard_class_addreg
  10. [keyboard_class_addreg]
  11. HKR,,,,%KeyboardClassName%
  12. HKR,,Icon,,"-3"
  13. HKR,,Installer32,,"SysSetup.Dll,KeyboardClassInstaller"
  14. HKR,,NoInstallClass,,"1"
  15. HKR,,TroubleShooter-0,,"hcp://help/tshoot/hdw_keyboard.htm"
  16. [DestinationDirs]
  17. DefaultDestDir = 12 ; DIRID_DRIVERS
  18. 101B_TYPE_LayerDriverFiles = 11 ; DIRID_SYSTEM
  19. 101C_TYPE_LayerDriverFiles = 11 ; DIRID_SYSTEM
  20. 103_TYPE_LayerDriverFiles = 11 ; DIRID_SYSTEM
  21. 106_TYPE_LayerDriverFiles = 11 ; DIRID_SYSTEM
  22. [ControlFlags]
  23. ;
  24. ; Mark any install sections for drivers that also control the PS/2 mouse port,
  25. ; so that we can warn the user that they may also be affecting their mouse with
  26. ; a keyboard driver change.
  27. ;
  28. SharedDriver=STANDARD_Inst,%STANDARD_Inst.SharedDriverMsg%
  29. SharedDriver=101B_TYPE_Inst,%STANDARD_Inst.SharedDriverMsg%
  30. SharedDriver=101C_TYPE_Inst,%STANDARD_Inst.SharedDriverMsg%
  31. SharedDriver=103_TYPE_Inst,%STANDARD_Inst.SharedDriverMsg%
  32. SharedDriver=106_TYPE_Inst,%STANDARD_Inst.SharedDriverMsg%
  33. @@!n:[Manufacturer]
  34. @@!n:%Std-Keyboards%=MS_KBD
  35. @@!n:%MICROSOFT%=MICROSOFT_KBD
  36. @@!n:%ALPS%=ALPS_KBD
  37. @@!n:%CHERRY%=CHERRY_KBD
  38. @@!n:%MITSUMI%=MITSUMI_KBD
  39. @@!n:%FUJITSU%=FUJITSU_KBD
  40. @@!n:%TOSHIBA%=TOSHIBA_KBD
  41. @@!n:%KEYTRONIC%=KEYTRONIC_KBD
  42. @@!n:%PHILIPS%=PHILIPS_KBD
  43. @@!n:%SILITEK%=SILITEK_KBD
  44. @@!n:%NMB%=NMB_KBD
  45. @@!n:%STSL%=STSL_KBD
  46. @@!n:%ACER%=ACER_KBD
  47. @@!n:%CHICONY%=CHICONY_KBD
  48. @@!n:%BTC%=BTC_KBD
  49. @@!n:%FOCUS%=FOCUS_KBD
  50. @@!n:%JINGMOLD%=JINGMOLD_KBD
  51. @@!n:%MAXISWITCH%=MAXISWITCH_KBD
  52. @@!n:%MONTEREY%=MONTEREY_KBD
  53. @@!n:%ORTEK%=ORTEK_KBD
  54. @@!n:%SAMSUNG%=SAMSUNG_KBD
  55. @@!n:%FORWARD%=FORWARD_KBD
  56. @@!n:%SUH%=SUH_KBD
  57. @@!n:%SEJIN%=SEJIN_KBD
  58. @@!n:%SUPERGATE%=SUPERGATE_KBD
  59. @@!n:%SOLIDYEAR%=SOLIDYEAR_KBD
  60. @@!n:%QTRONIX%=QTRONIX_KBD
  61. @@!n:%ATT%=ATT_KBD
  62. @@!n:%COMPAQ%=COMPAQ_KBD
  63. @@!n:%OLIVETTI%=OLIVETTI_KBD
  64. @@!n:%NEC%=NEC_KBD
  65. [MS_KBD]
  66. %*PNP0300.DeviceDesc% = STANDARD_Inst,*PNP0300 ;PC/XT (83-Key)
  67. %*PNP0301.DeviceDesc% = STANDARD_Inst,*PNP0301 ;PC/AT (84-Key)
  68. %*PNP0302.DeviceDesc% = STANDARD_Inst,*PNP0302 ;PC/XT (84-Key)
  69. %*PNP0303.DeviceDesc% = STANDARD_Inst,*PNP0303 ;PC/AT Enh(101/102-Key)
  70. %*PNP030b.DeviceDesc% = STANDARD_Inst,*PNP030b,PS2_KEYBOARD ;Default keyboard
  71. %*PNP0320.DeviceDesc% = 106_TYPE_Inst,*PNP0320 ;PC/AT Enh(106 Japanese key)
  72. %*PNP0343.DeviceDesc% = 101B_TYPE_Inst,*PNP0343 ;Enh 101b
  73. %*PNP0344.DeviceDesc% = 101C_TYPE_Inst,*PNP0344 ;Enh 101S
  74. %*PNP0345.DeviceDesc% = 103_TYPE_Inst,*PNP0345 ;Enh 103
  75. %HID.KeyboardDevice% = HID_Keyboard_Inst,,HID_DEVICE_SYSTEM_KEYBOARD ; Generic HID Keybaord
  76. [ATT_KBD]
  77. %*PNP030a.DeviceDesc% = STANDARD_Inst,*PNP030a ;AT&T 302
  78. [COMPAQ_KBD]
  79. %*CPQA0D7.DeviceDesc% = STANDARD_Inst,*CPQA0D7 ;Compaq Enhanced Keyboard
  80. [OLIVETTI_KBD]
  81. %*PNP0304.DeviceDesc% = STANDARD_Inst,*PNP0304 ;Olivetti (83-Key)
  82. %*PNP0305.DeviceDesc% = STANDARD_Inst,*PNP0305 ;Olivetti (102-Key)
  83. %*PNP0306.DeviceDesc% = STANDARD_Inst,*PNP0306 ;Olivetti (86-Key)
  84. %*PNP0309.DeviceDesc% = STANDARD_Inst,*PNP0309 ;Olivetti (101/102-Key)
  85. [ALPS_KBD]
  86. %HID\VID_0433&PID_ABAB.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_0433&PID_ABAB
  87. %HID\VID_044e&PID_1104.DeviceDesc%=HID_106_Keyboard_Inst,, HID\VID_044e&PID_1104
  88. [CHERRY_KBD]
  89. %HID\VID_046A&PID_0001.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_046A&PID_0001
  90. [MITSUMI_KBD]
  91. %HID\VID_03ee&PID_5609&MI_00.DeviceDesc%=HID_106_Keyboard_Inst,, HID\VID_03ee&PID_5609&MI_00
  92. [KEYTRONIC_KBD]
  93. %HID\VID_03F9&PID_0100.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_03F9&PID_0100
  94. %HID\VID_03F9&PID_0101.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_03F9&PID_0101
  95. %HID\VID_03F9&PID_0102&MI_00.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_03F9&PID_0102&MI_00
  96. [PHILIPS_KBD]
  97. %HID\VID_0471&PID_0601&MI_00.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_0471&PID_0601&MI_00
  98. %HID\VID_0471&PID_0401.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_0471&PID_0401
  99. %HID\VID_0471&PID_0402&MI_00.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_0471&PID_0402&MI_00
  100. [FUJITSU_KBD]
  101. %HID\VID_0430&PID_0002&MI_00.DeviceDesc%=HID_106_Keyboard_Inst,, HID\VID_0430&PID_0002&MI_00
  102. %HID\VID_0430&PID_000A&MI_00.DeviceDesc%=HID_106_Keyboard_Inst,, HID\VID_0430&PID_000A&MI_00
  103. %HID\VID_0430&PID_000B.DeviceDesc%=HID_106_Keyboard_Inst,, HID\VID_0430&PID_000B
  104. %HID\VID_0430&PID_0082.DeviceDesc%=HID_106_Keyboard_Inst,, HID\VID_0430&PID_0082
  105. %HID\VID_0430&PID_0083&MI_00.DeviceDesc%=HID_106_Keyboard_Inst,, HID\VID_0430&PID_0083&MI_00
  106. %HID\VID_04c5&PID_1020&MI_00.DeviceDesc%=HID_106_Keyboard_Inst,, HID\VID_04c5&PID_1020&MI_00
  107. %HID\VID_04c5&PID_1018&Col01.DeviceDesc%=HID_106_Keyboard_Inst,, HID\VID_04c5&PID_1018&Col01
  108. %HID\VID_04c5&PID_1022&MI_00&Col01.DeviceDesc%=HID_106_Keyboard_Inst,, HID\VID_04c5&PID_1022&MI_00&Col01
  109. [TOSHIBA_KBD]
  110. %HID\VID_06D5&PID_4000.DeviceDesc%=HID_106_Keyboard_Inst,, HID\VID_06D5&PID_4000
  111. [SILITEK_KBD]
  112. %HID\VID_047B&PID_0001.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_047B&PID_0001
  113. %HID\VID_047B&PID_0002&MI_00.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_047B&PID_0002&MI_00
  114. [NMB_KBD]
  115. ; %HID\VID_0446&PID_6782.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_0446&PID_6782
  116. %HID\VID_0446&PID_6781&MI_00.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_0446&PID_6781&MI_00
  117. [STSL_KBD]
  118. %HID\VID_05FA&PID_3302.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_05FA&PID_3302
  119. %HID\VID_05FA&PID_3301&MI_00.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_05FA&PID_3301&MI_00
  120. %HID\VID_05FA&PID_3303&MI_00.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_05FA&PID_3303&MI_00
  121. [ACER_KBD]
  122. %HID\VID_04A5&PID_0001.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_04A5&PID_0001
  123. %HID\VID_04A5&PID_0002.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_04A5&PID_0002
  124. %HID\VID_04A5&PID_0003&MI_00.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_04A5&PID_0003&MI_00
  125. [CHICONY_KBD]
  126. %HID\VID_04F2&PID_0002.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_04F2&PID_0002
  127. %HID\VID_04F2&PID_0001&MI_00.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_04F2&PID_0001&MI_00
  128. [BTC_KBD]
  129. %HID\VID_046E&PID_0100.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_046E&PID_0100
  130. %HID\VID_046E&PID_6782&MI_00.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_046E&PID_6782&MI_00
  131. [FOCUS_KBD]
  132. %HID\VID_05B2&PID_6200.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_05B2&PID_6200
  133. %HID\VID_05B2&PID_7200&MI_00.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_05B2&PID_7200&MI_00
  134. [JINGMOLD_KBD]
  135. %HID\VID_05AF&PID_9167.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_05AF&PID_9167
  136. %HID\VID_05AF&PID_9267&MI_00.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_05AF&PID_9267&MI_00
  137. [MAXISWITCH_KBD]
  138. %HID\VID_04C3&PID_1101.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_04C3&PID_1101
  139. %HID\VID_04C3&PID_1102&MI_00.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_04C3&PID_1102&MI_00
  140. %HID\VID_04C3&PID_2101.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_04C3&PID_2101
  141. %HID\VID_04C3&PID_2102&MI_00.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_04C3&PID_2102&MI_00
  142. [MONTEREY_KBD]
  143. %HID\VID_0566&PID_2800.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_0566&PID_2800
  144. %HID\VID_0566&PID_2801&MI_00.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_0566&PID_2801&MI_00
  145. [SAMSUNG_KBD]
  146. %HID\VID_055D&PID_6780.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_055D&PID_6780
  147. %HID\VID_055D&PID_6781&MI_00.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_055D&PID_6781&MI_00
  148. %HID\VID_055D&PID_0001.DeviceDesc%=HID_Keyboard_Inst,,HID\VID_055D&PID_0001
  149. [FORWARD_KBD]
  150. %HID\VID_05BC&PID_0002.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_05BC&PID_0002
  151. %HID\VID_05BC&PID_0001&MI_00.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_05BC&PID_0001&MI_00
  152. [SUH_KBD]
  153. %HID\VID_0500&PID_0002.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_0500&PID_0002
  154. %HID\VID_0500&PID_0001&MI_00.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_0500&PID_0001&MI_00
  155. [SEJIN_KBD]
  156. %HID\VID_0510&PID_0001.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_0510&PID_0001
  157. %HID\VID_0510&PID_1000&MI_00.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_0510&PID_1000&MI_00
  158. [SUPERGATE_KBD]
  159. %HID\VID_05D5&PID_6782&MI_00.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_05D5&PID_6782&MI_00
  160. [ORTEK_KBD]
  161. %HID\VID_05A4&PID_9722.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_05A4&PID_9722
  162. %HID\VID_05A4&PID_9720&MI_00.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_05A4&PID_9720&MI_00
  163. [SOLIDYEAR_KBD]
  164. %HID\VID_060B&PID_2101&MI_00.DeviceDesc%=HID_106_Keyboard_Inst,, HID\VID_060B&PID_2101&MI_00
  165. %HID\VID_060B&PID_5903.DeviceDesc%=HID_106_Keyboard_Inst,, HID\VID_060B&PID_5903
  166. %HID\VID_060B&PID_6003&MI_00.DeviceDesc%=HID_106_Keyboard_Inst,, HID\VID_060B&PID_6003&MI_00
  167. %HID\VID_060B&PID_1006&MI_00.DeviceDesc%=HID_106_Keyboard_Inst,, HID\VID_060B&PID_1006&MI_00
  168. [QTRONIX_KBD]
  169. %HID\VID_05C7&PID_2001.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_05C7&PID_2001
  170. %HID\VID_05C7&PID_6001.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_05C7&PID_6001
  171. [MICROSOFT_KBD]
  172. %HID\VID_045E&PID_000B.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_045E&PID_000B
  173. %HID\VID_045E&PID_001D&MI_00.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_045E&PID_001D&MI_00
  174. %HID\VID_045E&PID_002B&MI_00.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_045E&PID_002B&MI_00
  175. %HID\VID_045E&PID_002D&MI_00.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_045E&PID_002D&MI_00
  176. %HID\VID_045E&PID_0048&MI_00.DeviceDesc%=HID_Keyboard_Inst,, HID\VID_045E&PID_0048&MI_00
  177. %HID\VID_045E&PID_005C&MI_00.DeviceDesc%=HID_106_Keyboard_Inst,, HID\VID_045E&PID_005C&MI_00
  178. @@!n:[NEC_KBD]
  179. @@!n:%HID\VID_0409&PID_0014&MI_00.DeviceDesc%=HID_106_Keyboard_Inst,, HID\VID_0409&PID_0014&MI_00
  180. @@!n:%HID\VID_0409&PID_0019.DeviceDesc%=HID_106_Keyboard_Inst,, HID\VID_0409&PID_0019
  181. @@!n:%HID\VID_0409&PID_0025.DeviceDesc%=HID_106_Keyboard_Inst,, HID\VID_0409&PID_0025
  182. @@!n:%HID\VID_0409&PID_0034&COL01.DeviceDesc%=HID_106_Keyboard_Inst,, HID\VID_0409&PID_0034&COL01
  183. @@!n:%HID\VID_0409&PID_0094&COL01.DeviceDesc%=HID_106_Keyboard_Inst,, HID\VID_0409&PID_0094&COL01
  184. @@!n:%HID\VID_0409&PID_0095.DeviceDesc%=HID_106_Keyboard_Inst,, HID\VID_0409&PID_0095
  185. @@!n:%HID\VID_0409&PID_003F&MI_00&Col01.DeviceDesc%=HID_106_Keyboard_Inst,, HID\VID_0409&PID_003F&MI_00&Col01
  186. @@!n:%HID\VID_0409&PID_004F&MI_00&Col01.DeviceDesc%=HID_106_Keyboard_Inst,, HID\VID_0409&PID_004F&MI_00&Col01
  187. ;=====================================================================
  188. [STANDARD_Inst] ; All keyboard IDs (except unknown) map to the same driver
  189. CopyFiles = STANDARD_CopyFiles
  190. DelReg = STANDARD_DelReg
  191. AddReg = STANDARD_AddReg
  192. [STANDARD_DelReg]
  193. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardType
  194. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardSubtype
  195. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardIdentifier
  196. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,"LayerDriver JPN"
  197. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,"LayerDriver KOR"
  198. [STANDARD_AddReg]
  199. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,"LayerDriver JPN",%REG_SZ%,"kbd101.dll"
  200. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,"LayerDriver KOR",%REG_SZ%,"kbd101a.dll"
  201. HKR,,LocationInformationOverride,,%LocationOverride%
  202. [STANDARD_Inst.KeepValues]
  203. i8042prt=OverrideKeyboardType,OverrideKeyboardSubtype,OverrideKeyboardIdentifier,"LayerDriver JPN","LayerDriver KOR"
  204. [STANDARD_Inst.MigrateToDevnode]
  205. i8402prt=KeyboardDataQueueSize,PollStatusIterations
  206. [STANDARD_Inst.Services]
  207. AddService = i8042prt, 0x00000002, i8042prt_Service_Inst, i8042prt_EventLog_Inst ; Port Driver
  208. AddService = kbdclass,, kbdclass_Service_Inst, kbdclass_EventLog_Inst ; Class Driver
  209. [STANDARD_Inst.HW]
  210. AddReg = STANDARD_AddReg.HW
  211. [STANDARD_AddReg.HW]
  212. HKR,,"KeyboardDataQueueSize",0x00010003,100
  213. ;HKR,,"PowerCapabilities",,0x00010003,0
  214. HKR,,"PollStatusIterations",0x00010003,1
  215. ; global to i8042prt.sys (affects both keyboard and mouse)
  216. HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt\Parameters","PollingIterations",0x00010003,12000
  217. HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt\Parameters","PollingIterationsMaximum",0x00010003,12000
  218. HKLM,"SYSTEM\CurrentControlSet\Services\i8042prt\Parameters","ResendIterations",0x00010003,3
  219. [STANDARD_CopyFiles]
  220. i8042prt.sys
  221. kbdclass.sys
  222. ; ==============================================
  223. ; Korean 101 Keyboard, Type 2
  224. ; ==============================================
  225. [101B_TYPE_Inst]
  226. CopyFiles = 101B_TYPE_LayerDriverFiles, STANDARD_CopyFiles
  227. AddReg = 101B_TYPE_AddReg
  228. [101B_TYPE_AddReg]
  229. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardType,%REG_DWORD%,0x8
  230. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardSubtype,%REG_DWORD%,0x4
  231. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardIdentifier,%REG_SZ%,"PCAT_101BKEY"
  232. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,"LayerDriver KOR",%REG_SZ%,"kbd101b.dll"
  233. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,"LayerDriver JPN",%REG_SZ%,"kbd101.dll"
  234. HKR,,LocationInformationOverride,,%LocationOverride%
  235. [101B_TYPE_Inst.HW]
  236. AddReg = STANDARD_AddReg.HW
  237. [101B_TYPE_LayerDriverFiles]
  238. kbdkor.dll
  239. kbd101b.dll
  240. [101B_TYPE_Inst.Services]
  241. AddService = i8042prt, 0x00000002, i8042prt_Service_Inst, i8042prt_EventLog_Inst ; Port Driver
  242. AddService = kbdclass,, kbdclass_Service_Inst, kbdclass_EventLog_Inst ; Class Driver
  243. ; ==============================================
  244. ; Korean 101 Keyboard, Type 3 (PS/2)
  245. ; ==============================================
  246. [101C_TYPE_Inst]
  247. CopyFiles = 101C_TYPE_LayerDriverFiles, STANDARD_CopyFiles
  248. AddReg = 101C_TYPE_AddReg
  249. [101C_TYPE_AddReg]
  250. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardType,%REG_DWORD%,0x8
  251. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardSubtype,%REG_DWORD%,0x5
  252. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardIdentifier,%REG_SZ%,"PCAT_101CKEY"
  253. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,"LayerDriver KOR",%REG_SZ%,"kbd101c.dll"
  254. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,"LayerDriver JPN",%REG_SZ%,"kbd101.dll"
  255. HKR,,LocationInformationOverride,,%LocationOverride%
  256. [101C_TYPE_Inst.HW]
  257. AddService = i8042prt, 0x00000002, i8042prt_Service_Inst, i8042prt_EventLog_Inst ; Port Driver
  258. AddService = kbdclass,, kbdclass_Service_Inst, kbdclass_EventLog_Inst ; Class Driver
  259. [101C_TYPE_LayerDriverFiles]
  260. kbdkor.dll
  261. kbd101c.dll
  262. [101C_TYPE_Inst.Services]
  263. AddService = i8042prt, 0x00000002, i8042prt_Service_Inst, i8042prt_EventLog_Inst ; Port Driver
  264. AddService = kbdclass,, kbdclass_Service_Inst, kbdclass_EventLog_Inst ; Class Driver
  265. ; ==============================================
  266. ; Korean 103/106 Keyboard (PS/2)
  267. ; ==============================================
  268. [103_TYPE_Inst]
  269. CopyFiles = 103_TYPE_LayerDriverFiles, STANDARD_CopyFiles
  270. AddReg = 103_TYPE_AddReg
  271. [103_TYPE_AddReg]
  272. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardType,%REG_DWORD%,0x8
  273. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardSubtype,%REG_DWORD%,0x6
  274. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardIdentifier,%REG_SZ%,"PCAT_103KEY"
  275. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,"LayerDriver KOR",%REG_SZ%,"kbd103.dll"
  276. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,"LayerDriver JPN",%REG_SZ%,"kbd101.dll"
  277. HKR,,LocationInformationOverride,,%LocationOverride%
  278. [103_TYPE_Inst.HW]
  279. AddReg = STANDARD_AddReg.HW
  280. [103_TYPE_LayerDriverFiles]
  281. kbdkor.dll
  282. kbd103.dll
  283. [103_TYPE_Inst.Services]
  284. AddService = i8042prt, 0x00000002, i8042prt_Service_Inst, i8042prt_EventLog_Inst ; Port Driver
  285. AddService = kbdclass,, kbdclass_Service_Inst, kbdclass_EventLog_Inst ; Class Driver
  286. ; ==============================================
  287. ; Japanese 106/109 Keyboard (PS/2)
  288. ; ==============================================
  289. [106_TYPE_Inst]
  290. CopyFiles = 106_TYPE_LayerDriverFiles, STANDARD_CopyFiles
  291. AddReg = 106_TYPE_AddReg
  292. [106_TYPE_AddReg]
  293. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardType,%REG_DWORD%,0x7
  294. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardSubtype,%REG_DWORD%,0x2
  295. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,OverrideKeyboardIdentifier,%REG_SZ%,"PCAT_106KEY"
  296. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,"LayerDriver JPN",%REG_SZ%,"kbd106.dll"
  297. HKLM,SYSTEM\CurrentControlSet\Services\i8042prt\Parameters,"LayerDriver KOR",%REG_SZ%,"kbd101a.dll"
  298. HKR,,LocationInformationOverride,,%LocationOverride%
  299. [106_TYPE_Inst.HW]
  300. AddReg = STANDARD_AddReg.HW
  301. [106_TYPE_Inst.Services]
  302. AddService = i8042prt, 0x00000002, i8042prt_Service_Inst, i8042prt_EventLog_Inst ; Port Driver
  303. AddService = kbdclass,, kbdclass_Service_Inst, kbdclass_EventLog_Inst ; Class Driver
  304. [106_TYPE_LayerDriverFiles]
  305. kbdjpn.dll
  306. kbd106.dll
  307. [106_TYPE_Inst.Services]
  308. AddService = i8042prt, 0x00000002, i8042prt_Service_Inst, i8042prt_EventLog_Inst ; Port Driver
  309. AddService = kbdclass,, kbdclass_Service_Inst, kbdclass_EventLog_Inst ; Class Driver
  310. [i8042prt_Service_Inst]
  311. DisplayName = %i8042prt.SvcDesc%
  312. ServiceType = %SERVICE_KERNEL_DRIVER%
  313. StartType = %SERVICE_SYSTEM_START%
  314. ErrorControl = %SERVICE_ERROR_NORMAL%
  315. ServiceBinary = %12%\i8042prt.sys
  316. LoadOrderGroup = Keyboard Port
  317. [i8042prt_EventLog_Inst]
  318. AddReg = i8042prt_EventLog_AddReg
  319. [i8042prt_EventLog_AddReg]
  320. HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\i8042prt.sys"
  321. HKR,,TypesSupported,0x00010001,7
  322. [kbdclass_Service_Inst]
  323. DisplayName = %kbdclass.SvcDesc%
  324. ServiceType = %SERVICE_KERNEL_DRIVER%
  325. StartType = %SERVICE_SYSTEM_START%
  326. ErrorControl = %SERVICE_ERROR_NORMAL%
  327. ServiceBinary = %12%\kbdclass.sys
  328. LoadOrderGroup = Keyboard Class
  329. [kbdclass_EventLog_Inst]
  330. AddReg = kbdclass_EventLog_AddReg
  331. [kbdclass_EventLog_AddReg]
  332. HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\kbdclass.sys"
  333. HKR,,TypesSupported,0x00010001,7
  334. @@!n:; ==============================================
  335. @@!n:; Japanese 106/109 Keyboard (USB)
  336. @@!n:; ==============================================
  337. @@!n:[HID_106_Keyboard_Inst.NT]
  338. @@!n:Copyfiles = HID_Keyboard_Inst.CopyFiles.NT
  339. @@!n:Copyfiles = 106_TYPE_LayerDriverFiles
  340. @@!n:AddReg = HID_106_Keyboard_Inst.AddReg
  341. @@!n:
  342. @@!n:[HID_106_Keyboard_Inst.AddReg]
  343. @@!n:
  344. @@!n:[HID_106_Keyboard_Inst.NT.HW]
  345. @@!n:AddReg = HID_106_Keyboard_Inst.AddReg.NT.HW
  346. @@!n:AddReg = HID_Keyboard_Inst.AddReg.NT
  347. @@!n:
  348. @@!n:[HID_106_Keyboard_Inst.AddReg.NT.HW]
  349. @@!n:HKR,,"KeyboardTypeOverride",0x00010001,7
  350. @@!n:HKR,,"KeyboardSubtypeOverride",0x00010001,2
  351. @@!n:
  352. @@!n:[HID_106_Keyboard_Inst.NT.Services]
  353. @@!n:AddService = kbdhid,%SPSVCINST_ASSOCSERVICE%,KbdHid_Service_Inst,KbdHid_EventLog_Inst ; Port Driver
  354. @@!n:AddService = kbdclass,, kbdclass_Service_Inst, kbdclass_EventLog_Inst ; Class Driver
  355. [LegacyXlate.DevId]
  356. ;
  357. ; This section is used during startup by the Windows NT Plug&Play Manager to
  358. ; simulate enumeration of the keyboard based on information retrieved from
  359. ; ARC firmware/NTDETECT.
  360. ;
  361. XT_83KEY = *PNP0300
  362. PCAT_86KEY = *PNP0301
  363. PCXT_84KEY = *PNP0302
  364. XT_84KEY = *PNP0302
  365. 101-KEY = *PNP0303
  366. OLI_83KEY = *PNP0304
  367. ATT_301 = *PNP0304
  368. OLI_102KEY = *PNP0305
  369. OLI_86KEY = *PNP0306
  370. OLI_A101_102KEY = *PNP0309
  371. ATT_302 = *PNP030a
  372. PCAT_ENHANCED = *PNP030b
  373. ;
  374. ; This section is used during fresh install/upgrade to determine what Win95-style
  375. ; INF install section to associate with the currently installed keyboard driver.
  376. ;
  377. [LegacyXlate.Driver]
  378. @@!n:i8042prt = STANDARD_Inst
  379. ;=====================================================================
  380. [HID_Keyboard_Inst.NT]
  381. Copyfiles = HID_Keyboard_Inst.CopyFiles.NT
  382. [HID_Keyboard_Inst.NT.HW]
  383. AddReg = HID_Keyboard_Inst.AddReg.NT
  384. [HID_Keyboard_Inst.AddReg.NT]
  385. ;HKR,,"LowerFilters",0x00010000,"valueadd"
  386. [HID_Keyboard_Inst.CopyFiles.NT]
  387. kbdhid.sys
  388. kbdclass.sys
  389. [HID_Keyboard_Inst.NT.Services]
  390. AddService = kbdhid,%SPSVCINST_ASSOCSERVICE%,KbdHid_Service_Inst,KbdHid_EventLog_Inst ; Port Driver
  391. AddService = kbdclass,, kbdclass_Service_Inst, kbdclass_EventLog_Inst ; Class Driver
  392. ; AddService = valueadd,,ValueAdd_Service_Inst
  393. [KbdHid_Service_Inst]
  394. DisplayName = %KBDHID.SvcDesc%
  395. ServiceType = %SERVICE_KERNEL_DRIVER%
  396. StartType = %SERVICE_SYSTEM_START%
  397. ErrorControl = %SERVICE_ERROR_IGNORE%
  398. ServiceBinary = %12%\kbdhid.sys
  399. LoadOrderGroup = Keyboard Port
  400. AddReg = KbdHid_Service_Inst_AddReg
  401. [KbdHid_Service_Inst_AddReg]
  402. HKR,"Parameters","WorkNicely",0x00010001,0
  403. [KbdHid_EventLog_Inst]
  404. AddReg = KbdHid_EventLog_AddReg
  405. [KbdHid_EventLog_AddReg]
  406. HKR,,EventMessageFile,0x00020000,"%%SystemRoot%%\System32\IoLogMsg.dll;%%SystemRoot%%\System32\drivers\kbdhid.sys"
  407. HKR,,TypesSupported,0x00010001,7
  408. ; [ValueAdd_Service_Inst]
  409. ; DisplayName = %VALUEADD.SvcDesc%
  410. ; ServiceType = %SERVICE_KERNEL_DRIVER%
  411. ; StartType = %SERVICE_SYSTEM_START%
  412. ; ErrorControl = %SERVICE_ERROR_IGNORE%
  413. ; ServiceBinary = %12%\value.sys
  414. ; LoadOrderGroup = Keyboard Port
  415. ; AddReg = ValueAdd_Service_Inst_AddReg
  416. ; [ValueAdd_Service_Inst_AddReg]
  417. ; HKR,"Parameters","WorkNicely",0x00010001,0
  418. ; Included by OEM / 3rd party INFs to install kbdclass
  419. [KbdClass.Services]
  420. AddService = kbdclass,, kbdclass_Service_Inst, kbdclass_EventLog_Inst ; Class Driver