; EvoMouseDriverMini.inf
;
; Installation file for Evoluent Vertical Mouse 3, 4, 5
; virtual keyboard and mouse driver
;
; © Copyright 2010 Evoluent 
;
[Version]
Signature=$WINDOWS NT$
Class=%VINPUTCLASS%
ClassGuid={0E091D5C-8C3C-44e1-8DF5-2DAEA590A047}
Provider=%MFGNAME%
DriverVer=09/06/2018,6.1.0.0
CatalogFile=EvoMouseDriverMini.cat


[ClassInstall32]
Addreg=VmouseClassReg

[VmouseClassReg]
HKR,,,0,%VINPUTCLASS%
HKR,,Icon,,-24
HKR,,NoDisplayClass,,1

[DestinationDirs]
DefaultDestDir=10,System32\Drivers ;Drivers directory
DriverCoInstallerCopyFiles = 11 ; System directory

[SourceDisksNames]
1=%INSTDISK%,,,

[SourceDisksFiles]
EvoMouseDriverMini.sys=1
WdfCoinstaller01009.dll=1 ; make sure the number matches with SourceDisksNames

[DriverCopyFiles]
EvoMouseDriverMini.sys,,,2

[Manufacturer]
%MFGNAME%=DeviceList,NTAMD64,NTx86

[DeviceList.NTx86]
%DESCRIPTION_VMOUSE%=DriverInstallVmouse, ROOT\VIRTUAL_MOUSE_HWID
%DESCRIPTION_VKEYBD%=DriverInstallVkeybd, ROOT\VIRTUAL_KEYBD_HWID

[DeviceList.NTAMD64]
%DESCRIPTION_VMOUSE%=DriverInstallVmouse, ROOT\VIRTUAL_MOUSE_HWID
%DESCRIPTION_VKEYBD%=DriverInstallVkeybd, ROOT\VIRTUAL_KEYBD_HWID

;-------------- Driver Vmouse installation
[DriverInstallVmouse.NT]
CopyFiles=DriverCopyFiles

[DriverInstallVmouse.nt.hw]
AddReg=DriverVmouseHwAddReg

[DriverVmouseHwAddReg]
HKR,,"UpperFilters",0x00010000,"mouclass"

;-------------- Driver Vkeybd installation
[DriverInstallVkeybd.NT]
CopyFiles=DriverCopyFiles

[DriverInstallVkeybd.nt.hw]
AddReg=DriverVkeybdHwAddReg

[DriverVkeybdHwAddReg]
HKR,,"UpperFilters",0x00010000,"kbdclass"

;-------------- Service Vmouse and Vkeybd installation
[DriverInstallVmouse.NT.Services]
AddService=EvoMouseDriverMini,2,DriverService

[DriverInstallVkeybd.NT.Services]
AddService=EvoMouseDriverMini,2,DriverService

[DriverService]
ServiceType=1
StartType=3
ErrorControl=1
ServiceBinary=%10%\system32\drivers\EvoMouseDriverMini.sys

;-------------- Device  Vmouse and VKeybd co-installer installation
[DriverInstallVmouse.NT.CoInstallers]
AddReg=DriverCoInstallerAddReg
CopyFiles=DriverCoInstallerCopyFiles

[DriverInstallVkeybd.NT.CoInstallers]
AddReg=DriverCoInstallerAddReg
CopyFiles=DriverCoInstallerCopyFiles

[DriverCoInstallerAddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoinstaller01009.dll,WdfCoInstaller"

[DriverCoInstallerCopyFiles]
WdfCoinstaller01009.dll

;-------------- Device  Vmouse and VKeybd WDF installation
[DriverInstallVmouse.NT.Wdf]
KmdfService= EvoMouseDriverMini, SmplMouse_wdfsect

[DriverInstallVkeybd.NT.Wdf]
KmdfService= EvoMouseDriverMini, SmplMouse_wdfsect

[SmplMouse_wdfsect]
KmdfLibraryVersion = 1.0

;------------------------------------------------------------
;  String Definitions
;------------------------------------------------------------
[Strings]
MFGNAME="Evoluent"
INSTDISK="VIRTUAL MOUSE INSTALLATION DISK"
DESCRIPTION_VMOUSE="Evoluent Virtual Mouse Device"
DESCRIPTION_VKEYBD="Evoluent Virtual Keyboard Device"
VINPUTCLASS="Virtual Input Devices" 
