mirror of
https://github.com/nefarius/ViGEmBus.git
synced 2025-08-10 00:52:17 +00:00
101 lines
3.1 KiB
INI
101 lines
3.1 KiB
INI
; Virtual Gamepad Emulation Framework - Windows kernel-mode bus driver
|
|
;
|
|
; MIT License
|
|
;
|
|
; Copyright (c) 2016-2020 Nefarius Software Solutions e.U. and Contributors
|
|
;
|
|
; Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
; of this software and associated documentation files (the "Software"), to deal
|
|
; in the Software without restriction, including without limitation the rights
|
|
; to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
; copies of the Software, and to permit persons to whom the Software is
|
|
; furnished to do so, subject to the following conditions:
|
|
;
|
|
; The above copyright notice and this permission notice shall be included in all
|
|
; copies or substantial portions of the Software.
|
|
;
|
|
; THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
; IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
; FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
; AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
; LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
; OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
; SOFTWARE.
|
|
|
|
|
|
[Version]
|
|
Signature="$WINDOWS NT$"
|
|
Class=System
|
|
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
|
|
Provider=%ManufacturerName%
|
|
CatalogFile=ViGEmBus.cat
|
|
DriverVer= ;
|
|
|
|
[DestinationDirs]
|
|
DefaultDestDir = 12
|
|
ViGEmBus_Device_CoInstaller_CopyFiles = 11
|
|
|
|
[SourceDisksNames]
|
|
1 = %DiskName%,,,
|
|
|
|
[SourceDisksFiles]
|
|
ViGEmBus.sys = 1,,
|
|
WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll = 1
|
|
|
|
;*****************************************
|
|
; Install Section
|
|
;*****************************************
|
|
|
|
[Manufacturer]
|
|
%ManufacturerName%=Standard,NTamd64,NTx86
|
|
|
|
[Standard.NTamd64]
|
|
%ViGEmBus.DeviceDesc%=ViGEmBus_Device, Nefarius\ViGEmBus\Gen1
|
|
|
|
[Standard.NTx86]
|
|
%ViGEmBus.DeviceDesc%=ViGEmBus_Device, Nefarius\ViGEmBus\Gen1
|
|
|
|
[ViGEmBus_Device.NT]
|
|
CopyFiles=Drivers_Dir
|
|
|
|
[Drivers_Dir]
|
|
ViGEmBus.sys
|
|
|
|
;-------------- Service installation
|
|
[ViGEmBus_Device.NT.Services]
|
|
AddService = ViGEmBus,%SPSVCINST_ASSOCSERVICE%, ViGEmBus_Service_Inst
|
|
|
|
; -------------- ViGEmBus driver install sections
|
|
[ViGEmBus_Service_Inst]
|
|
DisplayName = %ViGEmBus.SVCDESC%
|
|
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
|
|
StartType = 3 ; SERVICE_DEMAND_START
|
|
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
|
|
ServiceBinary = %12%\ViGEmBus.sys
|
|
|
|
;
|
|
;--- ViGEmBus_Device Coinstaller installation ------
|
|
;
|
|
|
|
[ViGEmBus_Device.NT.CoInstallers]
|
|
AddReg=ViGEmBus_Device_CoInstaller_AddReg
|
|
CopyFiles=ViGEmBus_Device_CoInstaller_CopyFiles
|
|
|
|
[ViGEmBus_Device_CoInstaller_AddReg]
|
|
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll,WdfCoInstaller"
|
|
|
|
[ViGEmBus_Device_CoInstaller_CopyFiles]
|
|
WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll
|
|
|
|
[ViGEmBus_Device.NT.Wdf]
|
|
KmdfService = ViGEmBus, ViGEmBus_wdfsect
|
|
[ViGEmBus_wdfsect]
|
|
KmdfLibraryVersion = $KMDFVERSION$
|
|
|
|
[Strings]
|
|
SPSVCINST_ASSOCSERVICE= 0x00000002
|
|
ManufacturerName="Nefarius Software Solutions e.U."
|
|
DiskName = "ViGEmBus Installation Disk"
|
|
ViGEmBus.DeviceDesc = "Virtual Gamepad Emulation Bus"
|
|
ViGEmBus.SVCDESC = "Virtual Gamepad Emulation Service"
|