[PATCH 1/5] winebus.sys: Add a VID and PID to mouse and keyboard devices.

Rémi Bernon rbernon at codeweavers.com
Mon Sep 20 02:37:03 CDT 2021


Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---
 dlls/winebus.sys/unixlib.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dlls/winebus.sys/unixlib.c b/dlls/winebus.sys/unixlib.c
index 929997f1aa7..6b6a2595ca0 100644
--- a/dlls/winebus.sys/unixlib.c
+++ b/dlls/winebus.sys/unixlib.c
@@ -143,6 +143,8 @@ static const WCHAR mouse_bus_id[] = {'W','I','N','E','M','O','U','S','E',0};
 static const struct device_desc mouse_device_desc =
 {
     .busid = mouse_bus_id,
+    .vid = 0x845e,
+    .pid = 0x0001,
     .input = -1,
     .manufacturer = {"The Wine Project"},
     .product = {"Wine HID mouse"},
@@ -241,6 +243,8 @@ static const WCHAR keyboard_bus_id[] = {'W','I','N','E','K','E','Y','B','O','A',
 static const struct device_desc keyboard_device_desc =
 {
     .busid = keyboard_bus_id,
+    .vid = 0x845e,
+    .pid = 0x0002,
     .input = -1,
     .manufacturer = {"The Wine Project"},
     .product = {"Wine HID keyboard"},
-- 
2.33.0




More information about the wine-devel mailing list