From 1333206e083b6d7837ca88e7ab71a66cf7db6bd6 Mon Sep 17 00:00:00 2001 From: Kai Krakow Date: Sun, 11 Mar 2018 09:40:39 +0100 Subject: [PATCH] winebus.sys: Map more SDL Xbox controllers. These device ids are usually returned by newer firmware versions. Especially, the Android mode of the controller (when paired by bluetooth to a Linux system) changes the input mapping of the controller. The current kernel drivers do not correct this, xpadneo[1] is needed as the driver to get correct mapping. [1]: https://github.com/atar-axis/xpadneo Signed-off-by: Kai Krakow Signed-off-by: Aric Stewart Signed-off-by: Alexandre Julliard --- dlls/winebus.sys/bus_sdl.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dlls/winebus.sys/bus_sdl.c b/dlls/winebus.sys/bus_sdl.c index 3a98fa71ffb..e666d0419c3 100644 --- a/dlls/winebus.sys/bus_sdl.c +++ b/dlls/winebus.sys/bus_sdl.c @@ -69,9 +69,11 @@ static const WORD PID_XBOX_CONTROLLERS[] = { 0x028f, /* Xbox360 Wireless Controller */ 0x02d1, /* Xbox One Controller */ 0x02dd, /* Xbox One Controller (Covert Forces/Firmware 2015) */ + 0x02e0, /* Xbox One X Controller */ 0x02e3, /* Xbox One Elite Controller */ 0x02e6, /* Wireless XBox Controller Dongle */ 0x02ea, /* Xbox One S Controller */ + 0x02fd, /* Xbox One S Controller (Firmware 2017) */ 0x0719, /* Xbox 360 Wireless Adapter */ };