; Copyright (c) 2001 NEC Corporation
[Version]
Signature="$Windows NT$"
Provider=%NEC%
ClassGUID={4D36E96B-E325-11CE-BFC1-08002BE10318}
Class=Keyboard
CatalogFile=nmfps2.cat
DriverVer=02/21/2003, 10.2.3.0

[DestinationDirs]
DefaultDestDir		= 12
MFKB_CopyFiles.NT       = 16422,NECMFK;ProgramFiles\NECMFK

;
; Driver information
;
[ControlFlags]
ExcludeFromSelect = *

[Manufacturer]
%NEC%   = NEC.Mfg

[NEC.Mfg]
%Ps2Led.SvcDesc% = Ps2Led, *PNP0303

;
; General installation section
;

[Ps2Led]
; perform port related actions from keyboard.inf
Include=keyboard.inf
Needs =	STANDARD_Inst
CopyFiles = Ps2Led.CopyFiles, MFKB_CopyFiles.NT

;
; Service Installation
;

[Ps2Led.Services]
AddService = Ps2Led,  , Ps2Led_Service_Inst
; Install the port driver and mouclass from keyboard.inf
Include=keyboard.inf
Needs=STANDARD_Inst.Services

[Ps2Led_Service_Inst]
DisplayName    = %Ps2Led.SvcDesc%
ServiceType    = 1                  ; SERVICE_KERNEL_DRIVER
StartType      = 3                  ; SERVICE_DEMAND_START
ErrorControl   = 0                  ; SERVICE_ERROR_IGNORE
LoadOrderGroup = Keyboard Port
ServiceBinary  = %12%\Ps2Led.sys

[Ps2Led.HW]
; Add the device upper filter
AddReg = Ps2Led.HW.AddReg, MFKB_AddReg.NT

; run the directives need by the port driver
Include=keyboard.inf
Needs=STANDARD_Inst.HW

[Ps2Led.HW.AddReg]
HKR,,"UpperFilters",0x00010000,"Ps2Led"
HKLM,SYSTEM\CurrentControlSet\Services\Ps2Led\Parameters,MultiFunctionCode,,%MFKCode%
HKLM,SYSTEM\CurrentControlSet\Services\Ps2LedIF,ErrorControl,0x10001,%ErrorControl%
HKLM,SYSTEM\CurrentControlSet\Services\Ps2LedIF,Group,,%Group%
HKLM,SYSTEM\CurrentControlSet\Services\Ps2LedIF,ImagePath,,%ImagePath%
HKLM,SYSTEM\CurrentControlSet\Services\Ps2LedIF,Start,0x10001,%Start%
HKLM,SYSTEM\CurrentControlSet\Services\Ps2LedIF,Type,0x10001,%Type%
;for New code
HKLM,SYSTEM\CurrentControlSet\Services\Ps2Led\Parameters,DeviceType,0x10001,1

[SourceDisksNames]
1 = %DiskId1%,,,

[SourceDisksFiles]
Ps2Led.sys = 1,,
necmfk.exe =1
mfkps2.dll=1
Ps2LedIF.sys=1
mfkmulti.dll=1

[Ps2Led.CopyFiles]
Ps2Led.sys
Ps2LedIF.sys

[MFKB_CopyFiles.NT]
necmfk.exe
mfkps2.dll
mfkmulti.dll

[MFKB_AddReg.NT]
HKLM,%KEY_RUN%,NECMFK, ,"%16422%\necmfk\necmfk.exe"
HKLM,"Software\NEC\NECMFK\AudioControl\Player","CD_CLASS",,"%CD_CLASS%"
HKLM,"Software\NEC\NECMFK\AudioControl\Player","CD_TITLE",,"%CD_TITLE%"
HKLM,"Software\NEC\NECMFK\AudioControl\Player","DVD_CLASS",,"%DVD_CLASS%"
HKLM,"Software\NEC\NECMFK\AudioControl\Player","DVD_TITLE",,"%DVD_TITLE%"
HKLM,"Software\NEC\NECMFK\AudioControl\Player","CD_CONTROL",0x10001,"%CD_CONTROL%"
HKLM,"Software\NEC\NECMFK\AudioControl\Player","DVD_CONTROL",0x10001,"%DVD_CONTROL%"
HKLM,"Software\NEC\NECMFK\Interface","MFKSTDKEY",0x10001,"%MFKSTDKEY%"
HKLM,"Software\NEC\NECMFK\Interface","PS2", 0x00010001, 0x00000000
HKLM,"Software\NEC\NECMFK\Interface","MFKNOTE", 0x00010001, 0x00000001
HKLM,"Software\NEC\NECMFK","MFKINI",0x00010001, 0x00000000

[Strings]
DiskId1 = "NEC Note Keyboard with One-touch start buttons"
NEC = "NEC"
Ps2Led.SvcDesc="NEC Note Keyboard with One-touch start buttons"

;MFK Data

MFKCode = "0201016d0202016e02030172020401710206016f020701700266017302240204022202080210020202190201006c0204006902020071020800680201006b016e0067016d"

KEY_RUN="SOFTWARE\Microsoft\Windows\CurrentVersion\Run"
CD_CLASS    =""
CD_TITLE    =""
DVD_CLASS   ="MSDVD"
DVD_TITLE   =""
CD_CONTROL  ="3"
DVD_CONTROL ="3"
MFKNOTE     ="1"
MFKSTDKEY   ="1"
ErrorControl="1"
Group       ="Base"
ImagePath   ="\SystemRoot\system32\drivers\ps2ledif.sys"
Start       ="1"
Type        ="1"
