[PATCH 1/4] winehid.inf: Add new INF file and copy it to the INF directory.
Zebediah Figura
zfigura at codeweavers.com
Fri Jun 7 10:32:36 CDT 2019
From: Zebediah Figura <z.figura12 at gmail.com>
Signed-off-by: Zebediah Figura <z.figura12 at gmail.com>
---
loader/Makefile.in | 3 ++-
loader/wine.inf.in | 18 ++++++++++++++----
loader/winehid.inf.in | 25 +++++++++++++++++++++++++
3 files changed, 41 insertions(+), 5 deletions(-)
create mode 100644 loader/winehid.inf.in
diff --git a/loader/Makefile.in b/loader/Makefile.in
index a776c8542b..3ada656408 100644
--- a/loader/Makefile.in
+++ b/loader/Makefile.in
@@ -9,7 +9,8 @@ SOURCES = \
wine.inf.in \
wine.man.in \
wine.pl.UTF-8.man.in \
- wine_info.plist.in
+ wine_info.plist.in \
+ winehid.inf.in
PROGRAMS = $(WINELOADER_PROGRAMS)
INSTALL_LIB = $(WINELOADER_PROGRAMS)
diff --git a/loader/wine.inf.in b/loader/wine.inf.in
index 4d28a93c35..e80af7a6a3 100644
--- a/loader/wine.inf.in
+++ b/loader/wine.inf.in
@@ -30,7 +30,7 @@ signature="$CHICAGO$"
RegisterDlls=RegisterDllsSection
WineFakeDlls=FakeDllsWin32,FakeDlls
UpdateInis=SystemIni
-CopyFiles=@l_intl.nls
+CopyFiles=l_intl_section, inf_section
AddReg=\
Classes,\
ContentIndex,\
@@ -55,7 +55,7 @@ AddReg=\
RegisterDlls=RegisterDllsSection
WineFakeDlls=FakeDllsWin32,FakeDlls
UpdateInis=SystemIni
-CopyFiles=@l_intl.nls
+CopyFiles=l_intl_section, inf_section
AddReg=\
Classes,\
ContentIndex,\
@@ -82,7 +82,7 @@ RegisterDlls=RegisterDllsSection
WineFakeDlls=FakeDllsWin64,FakeDlls
WinePreInstall=Wow64
UpdateInis=SystemIni
-CopyFiles=@l_intl.nls
+CopyFiles=l_intl_section, inf_section
AddReg=\
Classes,\
ContentIndex,\
@@ -108,7 +108,7 @@ AddReg=\
[Wow64Install]
RegisterDlls=RegisterDllsSection
WineFakeDlls=FakeDllsWin32,FakeDllsWow64
-CopyFiles=@l_intl.nls
+CopyFiles=l_intl_section
AddReg=\
CurrentVersion,\
CurrentVersionWow64,\
@@ -3701,3 +3701,13 @@ HKLM,Software\Wine\LicenseInformation,"Shell-InBoxGames-Shanghai-EnableGame",0x1
HKLM,Software\Wine\LicenseInformation,"Shell-InBoxGames-Solitaire-EnableGame",0x10001,0x00000001
HKLM,Software\Wine\LicenseInformation,"Shell-InBoxGames-SpiderSolitaire-EnableGame",0x10001,0x00000001
HKLM,Software\Wine\LicenseInformation,"Shell-PremiumInBoxGames-Chess-EnableGame",0x10001,0x00000001
+
+[DestinationDirs]
+l_intl_section = 11
+inf_section = 17
+
+[l_intl_section]
+l_intl.nls
+
+[inf_section]
+winehid.inf
diff --git a/loader/winehid.inf.in b/loader/winehid.inf.in
new file mode 100644
index 0000000000..bd42bceeaa
--- /dev/null
+++ b/loader/winehid.inf.in
@@ -0,0 +1,25 @@
+[Version]
+Signature="$CHICAGO$"
+ClassGuid={745a17a0-74d3-11d0-b6fe-00a0c90f57da}
+Class=HIDClass
+
+[Manufacturer]
+Wine=mfg_section
+
+[mfg_section]
+Wine hidraw device=device_section,HIDRAW
+Wine IOHID device=device_section,IOHID
+Wine libevent device=device_section,LNXEV
+Wine SDL HID device=device_section,SDLJOY
+
+[device_section.Services]
+AddService = winehid,0x2,svc_section
+
+[svc_section]
+Description="Wine HID Minidriver"
+DisplayName="Wine HID"
+ServiceBinary="%12%\winehid.sys"
+LoadOrderGroup="WinePlugPlay"
+ServiceType=1
+StartType=3
+ErrorControl=1
--
2.20.1
More information about the wine-devel
mailing list