[PATCH 3/6] winebus.sys: Add more Xbox controllers product ids.
Rémi Bernon
rbernon at codeweavers.com
Tue Oct 5 02:11:52 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 c9d5fa5fd43..790becf4bc3 100644
--- a/dlls/winebus.sys/unixlib.c
+++ b/dlls/winebus.sys/unixlib.c
@@ -53,6 +53,10 @@ BOOL is_xbox_gamepad(WORD vid, WORD pid)
if (pid == 0x02e6) return TRUE; /* Wireless XBox Controller Dongle */
if (pid == 0x02ea) return TRUE; /* Xbox One S Controller */
if (pid == 0x02fd) return TRUE; /* Xbox One S Controller (Firmware 2017) */
+ if (pid == 0x0b00) return TRUE; /* Xbox Elite 2 */
+ if (pid == 0x0b05) return TRUE; /* Xbox Elite 2 Wireless */
+ if (pid == 0x0b12) return TRUE; /* Xbox Series */
+ if (pid == 0x0b13) return TRUE; /* Xbox Series Wireless */
if (pid == 0x0719) return TRUE; /* Xbox 360 Wireless Adapter */
return FALSE;
}
--
2.33.0
More information about the wine-devel
mailing list