[version]
LayoutFile=layout.inf
signature="$CHICAGO$"
Class=Keyboard
Provider=Microsoft

[DestinationDirs]
DefaultDestDir=11
MS_KBD_ENH_CopyFiles=10,system32\drivers
USBKBD.CopyFiles=10,system32\drivers


[ControlFlags]
ExcludeFromSelect=*PNP030b

[Manufacturer]
"(Keyboards)"=MS_KBD

[MS_KBD]
"Generic keyboard (101/102-key)"=PC_AT_Enh_Inst,*PNP0303
"PC/AT enhanced keyboard (101/102-key)"=PC_AT_Enh_Inst,*PNP030b;Default keyboard
; This is the compatible id for HID keyboards. It will be matched when the primary id is not recognized.
"HID-compliant keyboard"=HIDKeyboard,HID_DEVICE_SYSTEM_KEYBOARD
;Added manuelly
"Generic USB Keyboard"=USBKBD,USB\VID_045E&PID_000B



[HIDKeyboard]
CopyFiles=HIDKeyboard.Copy
AddReg=HIDKeyboard.AddReg

[HIDKeyboard.Copy]
kbdhid.vxd

[HIDKeyboard.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,"kbdhid.vxd"



[SysCfgClasses]
Keyboard,"Generic keyboard (101/102-key)",ROOT,,"Keyboards"
;Keyboard

[*PNP0303.det]
LogConfig=kbdlc

[*PNP030b.det]
LogConfig=kbdlc

[PC_AT_Enh_Inst]
LogConfig=kbdlc
CopyFiles=MS_KBD_ENH_CopyFiles
DelFiles=MS_KBD_ENH_DelFiles,KBD_VxDs_Del
UpdateInis=PC_AT_Enh_Inis,Keyb.Common.Inis
AddReg=MS_KBD_AddReg



[USBKBD]
CopyFiles=USBKBD.CopyFiles,MS_KBD_ENH_CopyFiles
AddReg=USBKBD.AddReg
DelFiles=USBKBD.DelFiles,MS_KBD_ENH_DelFiles,KBD_VxDs_Del
UpdateInis=Keyb.Common.Inis

[kbdlc]
ConfigPriority=HARDWIRED
IOConfig=60-60(ffff::)
IOConfig=64-64(ffff::)
IRQConfig=1

[MS_KBD_ENH_CopyFiles]
hidvkd.sys
hidclass.sys
hidparse.sys

[MS_KBD_ENH_DelFiles]
hidvkd.sys
hidclass.sys
hidparse.sys

[USBKBD.CopyFiles]
hidusb.sys
hidclass.sys
hidparse.sys

[USBKBD.DelFiles]
hidusb.sys
hidclass.sys
hidparse.sys

[MS_KBD_AddReg]
HKR,,DriverDesc,,"Keyboard Driver"
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,"hidvkd.sys"

[USBKBD.AddReg]
HKR,,DevLoader,,*ntkern
HKR,,NTMPDriver,,"hidusb.sys"

[PC_AT_Enh_Inis]
system.ini,boot.description,,"keyboard.typ="Generic keyboard (101/102-key)"
system.ini,keyboard,,"subtype="
system.ini,keyboard,,"type=4"

[Keyb.Common.Inis]
system.ini,keyboard,,"keyboard.dll="
system.ini,boot,,"keyboard.drv=keyboard.drv"
; Install *vkd unless "device=alrvkd.386", "keyboard=alrvkd.386", "device=vkd.386", or "keyboard=vkd.386" is already present
system.ini,386enh,"keyboard=alrvkd.386","~SetupTemp~=*",3
system.ini,386enh,"device=alrvkd.386","~SetupTemp~=*",3
system.ini,386enh,"keyboard=vkd.386","~SetupTemp~=*",3
system.ini,386enh,"device=vkd.386","~SetupTemp~=*",3
system.ini,386enh,,"keyboard=*vkd"
system.ini,386enh,"~SetupTemp~=*","keyboard=*vkd",3

[KBD_VxDs_Del]
vkd.386

