Skip to content

Commit

Permalink
More version number fixes, and a fix for inf and attestation signing.
Browse files Browse the repository at this point in the history
  • Loading branch information
jshafer817 committed Jul 14, 2019
1 parent 30f1cc1 commit 4337c2a
Showing 1 changed file with 6 additions and 12 deletions.
18 changes: 6 additions & 12 deletions driver/sys/vjoy.inx
Expand Up @@ -31,6 +31,7 @@ CatalogFile = vJoy.cat
[SourceDisksFiles]
vjoy.sys = 99
hidkmdf.sys = 99
WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll=99 ; make sure the number matches with SourceDisksNames

[SourceDisksNames]
99 = %DISK_NAME%,,,""
Expand All @@ -39,19 +40,20 @@ hidkmdf.sys = 99
CopySystemSysFiles = 12
CopyFunctionDriver = 12
;CopyFilterDriver = 12
CopyFilesDLL = 11
CopyFilesDLL = 11
vjoy.Inst_CoInstaller_CopyFiles = 11

[Manufacturer]
%VENDOR%=Vendor, NT$ARCH$, NT$ARCH$.6.1


; For XP and later
[Vendor.NT$ARCH$]
%vjoy% = vjoy.Inst, root\VID_1234&PID_BEAD&REV_0218
%vjoy% = vjoy.Inst, root\VID_1234&PID_BEAD&REV_0219

; For Win7 and later so that we can use inbox HID-KMDF mapper
[Vendor.NT$ARCH$.6.1]
%vjoy% = vjoy.Inst.Win7, root\VID_1234&PID_BEAD&REV_0218
%vjoy% = vjoy.Inst.Win7, root\VID_1234&PID_BEAD&REV_0219


;===============================================================
Expand All @@ -72,9 +74,6 @@ AddReg = vjoy.AddReg
AddService = hidkmdf,,hidkmdf_Service_Inst,
AddService = vjoy,0x00000002, vjoy_Service_Inst, vjoy_EventLog_Inst

[CopyFunctionDriver]
hidkmdf.sys

[vjoy.AddReg]
HKR,,"UpperFilters",0x00010000,"hidkmdf"
HKLM,%WMRW%\OEMForceFeedback,Attributes,1,00,00,00,00,E8,03,00,00,E8,03,00,00
Expand Down Expand Up @@ -177,6 +176,7 @@ HKLM,%WMRWFF%\%F_CUST%,Attributes,1,28,00,0f,00,05,c8,00,00,fd,03,00,00,fd,03,00

[CopyFunctionDriver]
vjoy.sys
hidkmdf.sys

[CopyFilesDLL]
;Hid.dll,,,0x00000010 ;COPYFLG_NO_OVERWRITE (for win2k)
Expand All @@ -200,9 +200,6 @@ ServiceBinary = %12%\vjoy.sys
;================================================================
;--- WDF Coinstaller installation ------
;
[DestinationDirs]
vjoy.Inst_CoInstaller_CopyFiles = 11

[vjoy.Inst.NT.CoInstallers]
AddReg=vjoy.Inst_CoInstaller_AddReg
CopyFiles=vjoy.Inst_CoInstaller_CopyFiles
Expand All @@ -213,9 +210,6 @@ HKR,,CoInstallers32,0x00010000, "WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll,WdfC
[vjoy.Inst_CoInstaller_CopyFiles]
WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll

[SourceDisksFiles]
WdfCoInstaller$KMDFCOINSTALLERVERSION$.dll=99 ; make sure the number matches with SourceDisksNames

[vjoy.Inst.NT.Wdf]
KmdfService = vjoy, vjoy_wdfsect
[vjoy_wdfsect]
Expand Down

0 comments on commit 4337c2a

Please sign in to comment.