Input: xpad - add Thrustmaster as Xbox 360 controller vendor
authorTommi Rantala <tt.rantala@gmail.com>
Thu, 16 Oct 2014 21:02:07 +0000 (14:02 -0700)
committerJiri Slaby <jslaby@suse.cz>
Tue, 26 May 2015 14:26:58 +0000 (16:26 +0200)
commit 4dfb15cd5aaa6682e93854a74b394a1c95b82621 upstream.

Add Thrustmaster as Xbox 360 controller vendor. This is required for
example to make the GP XID (044f:b326) gamepad work.

Signed-off-by: Tommi Rantala <tt.rantala@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Jiri Slaby <jslaby@suse.cz>
drivers/input/joystick/xpad.c

index 86a98b76e5783239e26f1400d92ca1cc8075443a..b0575bc518c1ce06c7c6122db55e72c69e171ddc 100644 (file)
@@ -294,6 +294,7 @@ static const signed short xpad_abs_triggers[] = {
 
 static struct usb_device_id xpad_table[] = {
        { USB_INTERFACE_INFO('X', 'B', 0) },    /* X-Box USB-IF not approved class */
+       XPAD_XBOX360_VENDOR(0x044f),            /* Thrustmaster X-Box 360 controllers */
        XPAD_XBOX360_VENDOR(0x045e),            /* Microsoft X-Box 360 controllers */
        XPAD_XBOXONE_VENDOR(0x045e),            /* Microsoft X-Box One controllers */
        XPAD_XBOX360_VENDOR(0x046d),            /* Logitech X-Box 360 style controllers */