; Copyright: (c) 2017 Razer Inc. All rights reserved
;
; RzDevU_0062_Dkm.inf
;

[Version]
Signature   = "$WINDOWS NT$"
Class       = HIDClass
ClassGuid   = {745a17a0-74d3-11d0-b6fe-00a0c90f57da}
Provider    = %ManufacturerName%
CatalogFile = rzdev_0062_dkm.cat
DriverVer=04/23/2018,10.0.15063.0

[DestinationDirs]
DefaultDestDir = 12

[SourceDisksNames]
1 = %DiskName%,,,""

[SourceDisksFiles]
RzDev_0062.sys  = 1,,

;*****************************************
; Install Section
;*****************************************

[Manufacturer]
%ManufacturerName%=Standard,NTx86

[Standard.NTx86]
%RzDev.DeviceDesc%=RzDev_Device, USB\Vid_1532&Pid_0062&MI_01

[RzDev_Device.NT]
Include = input.inf
Needs = HID_Inst.NT
CopyFiles=Drivers_Dir

[Drivers_Dir]
RzDev_0062.sys

[RzDev_Device.NT.HW]
Include=input.inf
Needs=HID_Inst.NT.HW
AddReg = RzDev_Device.NT.HW.AddReg

[RzDev_Device.NT.HW.AddReg]  
HKR,,"LowerFilters",0x00010000,"RzDev_0062"
HKR,,"DkmKeyDevice",0x00010001,1						; DKM Type
HKR,,"DkmMouseDevice",0x00010001,1						; DKM Type

;-------------- Service installation
[RzDev_Device.NT.Services]
AddService = RzDev_0062,, RzDev_Service_Inst
Include=input.inf
Needs=HID_Inst.NT.Services

; -------------- RzDev driver install sections
[RzDev_Service_Inst]
DisplayName    = %RzDev.ServiceDesc%
ServiceType    = 1               ; SERVICE_KERNEL_DRIVER
StartType      = 3               ; SERVICE_DEMAND_START
ErrorControl   = 1               ; SERVICE_ERROR_NORMAL
ServiceBinary  = %12%\RzDev_0062.sys

[Strings]
ManufacturerName="Razer Inc"
DiskName = "Razer 0062 Installation Disk"
RzDev.ServiceDesc= "Razer 0062 Service"
RzDev.DeviceDesc = "Razer Atheris"
