[PATCH 1/4] winexinput.sys: Register known XBox controllers hardware ids.

Rémi Bernon rbernon at codeweavers.com
Fri Sep 10 02:19:53 CDT 2021


Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
---

* Send the patches separately from the others, they should not conflict

* Force the &MI_00 suffix on all gamepad devices where we cannot figure
  the correct interface number (SDL and IOHID bus).

 dlls/winexinput.sys/winexinput.inf | 13 +++++++++++++
 1 file changed, 13 insertions(+)

diff --git a/dlls/winexinput.sys/winexinput.inf b/dlls/winexinput.sys/winexinput.inf
index 2f388c190ca..a2b74863c63 100644
--- a/dlls/winexinput.sys/winexinput.inf
+++ b/dlls/winexinput.sys/winexinput.inf
@@ -8,6 +8,19 @@ Wine=mfg_section
 
 [mfg_section]
 Wine XInput compatible device=device_section,WINEBUS\WINE_COMP_XINPUT
+Xbox Controller=device_section,WINEBUS\VID_045E&PID_0202&MI_00
+Xbox Controller S=device_section,WINEBUS\VID_045E&PID_0285&MI_00
+Xbox Controller S=device_section,WINEBUS\VID_045E&PID_0289&MI_00
+Xbox360 Controller=device_section,WINEBUS\VID_045E&PID_028E&MI_00
+Xbox360 Wireless Controller=device_section,WINEBUS\VID_045E&PID_028F&MI_00
+Xbox One Controller=device_section,WINEBUS\VID_045E&PID_02D1&MI_00
+Xbox One Controller (Covert Forces/Firmware 2015)=device_section,WINEBUS\VID_045E&PID_02DD&MI_00
+Xbox One X Controller=device_section,WINEBUS\VID_045E&PID_02E0&MI_00
+Xbox One Elite Controller=device_section,WINEBUS\VID_045E&PID_02E3&MI_00
+Wireless XBox Controller Dongle=device_section,WINEBUS\VID_045E&PID_02E6&MI_00
+Xbox One S Controller=device_section,WINEBUS\VID_045E&PID_02EA&MI_00
+Xbox One S Controller (Firmware 2017)=device_section,WINEBUS\VID_045E&PID_02FD&MI_00
+Xbox 360 Wireless Adapter=device_section,WINEBUS\VID_045E&PID_0719&MI_00
 
 [device_section.Services]
 AddService = xinput,0x2,svc_section
-- 
2.33.0




More information about the wine-devel mailing list