2
0
mirror of https://github.com/Thracky/GlosSI.git synced 2024-11-17 03:26:02 +00:00

Update ViGEm

This commit is contained in:
Peter Repukat 2017-07-03 01:06:04 +02:00
parent 58212846b8
commit ca128ffe19
25 changed files with 473 additions and 1 deletions

View File

@ -51,7 +51,9 @@ typedef enum _VIGEM_ERRORS
VIGEM_ERROR_TARGET_UNINITIALIZED = 0xE0000006,
VIGEM_ERROR_TARGET_NOT_PLUGGED_IN = 0xE0000007,
VIGEM_ERROR_BUS_VERSION_MISMATCH = 0xE0000008,
VIGEM_ERROR_BUS_ACCESS_FAILED = 0xE0000009
VIGEM_ERROR_BUS_ACCESS_FAILED = 0xE0000009,
VIGEM_ERROR_CALLBACK_ALREADY_REGISTERED = 0xE0000010,
VIGEM_ERROR_CALLBACK_NOT_FOUND = 0xE0000011
} VIGEM_ERROR;
#define VIGEM_SUCCESS(_val_) (_val_ == VIGEM_ERROR_NONE)
@ -122,10 +124,16 @@ extern "C"
_In_ PVIGEM_XUSB_NOTIFICATION Notification,
_In_ VIGEM_TARGET Target);
VIGEM_API VIGEM_ERROR vigem_unregister_xusb_notification(
_In_ PVIGEM_XUSB_NOTIFICATION Notification);
VIGEM_API VIGEM_ERROR vigem_register_ds4_notification(
_In_ PVIGEM_DS4_NOTIFICATION Notification,
_In_ VIGEM_TARGET Target);
VIGEM_API VIGEM_ERROR vigem_unregister_ds4_notification(
_In_ PVIGEM_DS4_NOTIFICATION Notification);
VIGEM_API VIGEM_ERROR vigem_xusb_submit_report(
_In_ VIGEM_TARGET Target,
_In_ XUSB_REPORT Report);

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,77 @@
;
; HidGuardian.inf
;
[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%ManufacturerName%
CatalogFile=HidGuardian.cat
DriverVer = 06/17/2017,1.9.0.0
[DestinationDirs]
DefaultDestDir = 12
HidGuardian_Device_CoInstaller_CopyFiles = 11
; ================= Class section =====================
[SourceDisksNames]
1 = %DiskName%,,,""
[SourceDisksFiles]
HidGuardian.sys = 1,,
WdfCoInstaller01009.dll=1 ; make sure the number matches with SourceDisksNames
;*****************************************
; Install Section
;*****************************************
[Manufacturer]
%ManufacturerName%=Standard,NTamd64
[Standard.NTamd64]
%HidGuardian.DeviceDesc%=HidGuardian_Device, Root\HidGuardian
[HidGuardian_Device.NT]
CopyFiles=Drivers_Dir
[Drivers_Dir]
HidGuardian.sys
;-------------- Service installation
[HidGuardian_Device.NT.Services]
AddService = HidGuardian,%SPSVCINST_ASSOCSERVICE%, HidGuardian_Service_Inst
; -------------- HidGuardian driver install sections
[HidGuardian_Service_Inst]
DisplayName = %HidGuardian.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\HidGuardian.sys
;
;--- HidGuardian_Device Coinstaller installation ------
;
[HidGuardian_Device.NT.CoInstallers]
AddReg=HidGuardian_Device_CoInstaller_AddReg
CopyFiles=HidGuardian_Device_CoInstaller_CopyFiles
[HidGuardian_Device_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"
[HidGuardian_Device_CoInstaller_CopyFiles]
WdfCoInstaller01009.dll
[HidGuardian_Device.NT.Wdf]
KmdfService = HidGuardian, HidGuardian_wdfsect
[HidGuardian_wdfsect]
KmdfLibraryVersion = 1.9
[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ManufacturerName="Benjamin Höglinger-Stelzer"
DiskName = "HidGuardian Installation Disk"
HidGuardian.DeviceDesc = "HidGuardian Virtual Device"
HidGuardian.SVCDESC = "HidGuardian Service"

Binary file not shown.

View File

@ -0,0 +1,78 @@
;
; ViGEmBus.inf
;
[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%ManufacturerName%
CatalogFile=ViGEmBus.cat
DriverVer = 06/17/2017,1.10.0.0
[DestinationDirs]
DefaultDestDir = 12
ViGEmBus_Device_CoInstaller_CopyFiles = 11
; ================= Class section =====================
[SourceDisksNames]
1 = %DiskName%,,,""
[SourceDisksFiles]
ViGEmBus.sys = 1,,
WdfCoInstaller01009.dll=1
;*****************************************
; Install Section
;*****************************************
[Manufacturer]
%ManufacturerName%=Standard,NTamd64
[Standard.NTamd64]
%ViGEmBus.DeviceDesc%=ViGEmBus_Device, Root\ViGEmBus
[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, "WdfCoInstaller01009.dll,WdfCoInstaller"
[ViGEmBus_Device_CoInstaller_CopyFiles]
WdfCoInstaller01009.dll
[ViGEmBus_Device.NT.Wdf]
KmdfService = ViGEmBus, ViGEmBus_wdfsect
[ViGEmBus_wdfsect]
KmdfLibraryVersion = 1.9
[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ManufacturerName="Benjamin Höglinger-Stelzer"
DiskName = "ViGEmBus Installation Disk"
ViGEmBus.DeviceDesc = "Virtual Gamepad Emulation Bus"
ViGEmBus.SVCDESC = "Virtual Gamepad Emulation Service"

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,77 @@
;
; XnaGuardian.inf
;
[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%ManufacturerName%
CatalogFile=XnaGuardian.cat
DriverVer = 06/17/2017,1.10.0.0
[DestinationDirs]
DefaultDestDir = 12
XnaGuardian_Device_CoInstaller_CopyFiles = 11
; ================= Class section =====================
[SourceDisksNames]
1 = %DiskName%,,,""
[SourceDisksFiles]
XnaGuardian.sys = 1,,
WdfCoInstaller01009.dll=1 ; make sure the number matches with SourceDisksNames
;*****************************************
; Install Section
;*****************************************
[Manufacturer]
%ManufacturerName%=Standard,NTamd64
[Standard.NTamd64]
%XnaGuardian.DeviceDesc%=XnaGuardian_Device, Root\XnaGuardian
[XnaGuardian_Device.NT]
CopyFiles=Drivers_Dir
[Drivers_Dir]
XnaGuardian.sys
;-------------- Service installation
[XnaGuardian_Device.NT.Services]
AddService = XnaGuardian,%SPSVCINST_ASSOCSERVICE%, XnaGuardian_Service_Inst
; -------------- XnaGuardian driver install sections
[XnaGuardian_Service_Inst]
DisplayName = %XnaGuardian.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\XnaGuardian.sys
;
;--- XnaGuardian_Device Coinstaller installation ------
;
[XnaGuardian_Device.NT.CoInstallers]
AddReg=XnaGuardian_Device_CoInstaller_AddReg
CopyFiles=XnaGuardian_Device_CoInstaller_CopyFiles
[XnaGuardian_Device_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"
[XnaGuardian_Device_CoInstaller_CopyFiles]
WdfCoInstaller01009.dll
[XnaGuardian_Device.NT.Wdf]
KmdfService = XnaGuardian, XnaGuardian_wdfsect
[XnaGuardian_wdfsect]
KmdfLibraryVersion = 1.9
[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ManufacturerName="Benjamin Höglinger-Stelzer"
DiskName = "XnaGuardian Installation Disk"
XnaGuardian.DeviceDesc = "XnaGuardian Virtual Device"
XnaGuardian.SVCDESC = "XnaGuardian Service"

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,77 @@
;
; HidGuardian.inf
;
[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%ManufacturerName%
CatalogFile=HidGuardian.cat
DriverVer = 06/17/2017,1.9.0.0
[DestinationDirs]
DefaultDestDir = 12
HidGuardian_Device_CoInstaller_CopyFiles = 11
; ================= Class section =====================
[SourceDisksNames]
1 = %DiskName%,,,""
[SourceDisksFiles]
HidGuardian.sys = 1,,
WdfCoInstaller01009.dll=1 ; make sure the number matches with SourceDisksNames
;*****************************************
; Install Section
;*****************************************
[Manufacturer]
%ManufacturerName%=Standard,NTx86
[Standard.NTx86]
%HidGuardian.DeviceDesc%=HidGuardian_Device, Root\HidGuardian
[HidGuardian_Device.NT]
CopyFiles=Drivers_Dir
[Drivers_Dir]
HidGuardian.sys
;-------------- Service installation
[HidGuardian_Device.NT.Services]
AddService = HidGuardian,%SPSVCINST_ASSOCSERVICE%, HidGuardian_Service_Inst
; -------------- HidGuardian driver install sections
[HidGuardian_Service_Inst]
DisplayName = %HidGuardian.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\HidGuardian.sys
;
;--- HidGuardian_Device Coinstaller installation ------
;
[HidGuardian_Device.NT.CoInstallers]
AddReg=HidGuardian_Device_CoInstaller_AddReg
CopyFiles=HidGuardian_Device_CoInstaller_CopyFiles
[HidGuardian_Device_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"
[HidGuardian_Device_CoInstaller_CopyFiles]
WdfCoInstaller01009.dll
[HidGuardian_Device.NT.Wdf]
KmdfService = HidGuardian, HidGuardian_wdfsect
[HidGuardian_wdfsect]
KmdfLibraryVersion = 1.9
[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ManufacturerName="Benjamin Höglinger-Stelzer"
DiskName = "HidGuardian Installation Disk"
HidGuardian.DeviceDesc = "HidGuardian Virtual Device"
HidGuardian.SVCDESC = "HidGuardian Service"

Binary file not shown.

View File

@ -0,0 +1,78 @@
;
; ViGEmBus.inf
;
[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%ManufacturerName%
CatalogFile=ViGEmBus.cat
DriverVer = 06/17/2017,1.10.0.0
[DestinationDirs]
DefaultDestDir = 12
ViGEmBus_Device_CoInstaller_CopyFiles = 11
; ================= Class section =====================
[SourceDisksNames]
1 = %DiskName%,,,""
[SourceDisksFiles]
ViGEmBus.sys = 1,,
WdfCoInstaller01009.dll=1
;*****************************************
; Install Section
;*****************************************
[Manufacturer]
%ManufacturerName%=Standard,NTx86
[Standard.NTx86]
%ViGEmBus.DeviceDesc%=ViGEmBus_Device, Root\ViGEmBus
[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, "WdfCoInstaller01009.dll,WdfCoInstaller"
[ViGEmBus_Device_CoInstaller_CopyFiles]
WdfCoInstaller01009.dll
[ViGEmBus_Device.NT.Wdf]
KmdfService = ViGEmBus, ViGEmBus_wdfsect
[ViGEmBus_wdfsect]
KmdfLibraryVersion = 1.9
[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ManufacturerName="Benjamin Höglinger-Stelzer"
DiskName = "ViGEmBus Installation Disk"
ViGEmBus.DeviceDesc = "Virtual Gamepad Emulation Bus"
ViGEmBus.SVCDESC = "Virtual Gamepad Emulation Service"

Binary file not shown.

Binary file not shown.

View File

@ -0,0 +1,77 @@
;
; XnaGuardian.inf
;
[Version]
Signature="$WINDOWS NT$"
Class=System
ClassGuid={4D36E97D-E325-11CE-BFC1-08002BE10318}
Provider=%ManufacturerName%
CatalogFile=XnaGuardian.cat
DriverVer = 06/17/2017,1.10.0.0
[DestinationDirs]
DefaultDestDir = 12
XnaGuardian_Device_CoInstaller_CopyFiles = 11
; ================= Class section =====================
[SourceDisksNames]
1 = %DiskName%,,,""
[SourceDisksFiles]
XnaGuardian.sys = 1,,
WdfCoInstaller01009.dll=1 ; make sure the number matches with SourceDisksNames
;*****************************************
; Install Section
;*****************************************
[Manufacturer]
%ManufacturerName%=Standard,NTx86
[Standard.NTx86]
%XnaGuardian.DeviceDesc%=XnaGuardian_Device, Root\XnaGuardian
[XnaGuardian_Device.NT]
CopyFiles=Drivers_Dir
[Drivers_Dir]
XnaGuardian.sys
;-------------- Service installation
[XnaGuardian_Device.NT.Services]
AddService = XnaGuardian,%SPSVCINST_ASSOCSERVICE%, XnaGuardian_Service_Inst
; -------------- XnaGuardian driver install sections
[XnaGuardian_Service_Inst]
DisplayName = %XnaGuardian.SVCDESC%
ServiceType = 1 ; SERVICE_KERNEL_DRIVER
StartType = 3 ; SERVICE_DEMAND_START
ErrorControl = 1 ; SERVICE_ERROR_NORMAL
ServiceBinary = %12%\XnaGuardian.sys
;
;--- XnaGuardian_Device Coinstaller installation ------
;
[XnaGuardian_Device.NT.CoInstallers]
AddReg=XnaGuardian_Device_CoInstaller_AddReg
CopyFiles=XnaGuardian_Device_CoInstaller_CopyFiles
[XnaGuardian_Device_CoInstaller_AddReg]
HKR,,CoInstallers32,0x00010000, "WdfCoInstaller01009.dll,WdfCoInstaller"
[XnaGuardian_Device_CoInstaller_CopyFiles]
WdfCoInstaller01009.dll
[XnaGuardian_Device.NT.Wdf]
KmdfService = XnaGuardian, XnaGuardian_wdfsect
[XnaGuardian_wdfsect]
KmdfLibraryVersion = 1.9
[Strings]
SPSVCINST_ASSOCSERVICE= 0x00000002
ManufacturerName="Benjamin Höglinger-Stelzer"
DiskName = "XnaGuardian Installation Disk"
XnaGuardian.DeviceDesc = "XnaGuardian Virtual Device"
XnaGuardian.SVCDESC = "XnaGuardian Service"

Binary file not shown.

Binary file not shown.

Binary file not shown.

Binary file not shown.