Rémi Bernon : winebus.sys: Add more Xbox controllers product ids.
Alexandre Julliard
julliard at winehq.org
Tue Oct 5 15:51:41 CDT 2021
Module: wine
Branch: master
Commit: 0fc31aaf21aafb60e5864ff556c2f5a7e12539c8
URL: https://source.winehq.org/git/wine.git/?a=commit;h=0fc31aaf21aafb60e5864ff556c2f5a7e12539c8
Author: Rémi Bernon <rbernon at codeweavers.com>
Date: Tue Oct 5 09:11:52 2021 +0200
winebus.sys: Add more Xbox controllers product ids.
Signed-off-by: Rémi Bernon <rbernon at codeweavers.com>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>
---
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;
}
More information about the wine-cvs
mailing list