]> git.karo-electronics.de Git - linux-beck.git/commitdiff
Input: xpad - add product ID for Xbox One S pad
authorCameron Gutman <aicommander@gmail.com>
Mon, 28 Nov 2016 04:37:31 +0000 (20:37 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 28 Nov 2016 04:45:12 +0000 (20:45 -0800)
This is the new gamepad that ships with the Xbox One S which
includes Bluetooth functionality.

Signed-off-by: Cameron Gutman <aicommander@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/xpad.c

index 83af17ad0f1f131d6d397e3df2e15521d0c24b55..19886dbfe18d918cc64089dece01d4e2b86fdc1d 100644 (file)
@@ -134,6 +134,7 @@ static const struct xpad_device {
        { 0x045e, 0x02d1, "Microsoft X-Box One pad", 0, XTYPE_XBOXONE },
        { 0x045e, 0x02dd, "Microsoft X-Box One pad (Firmware 2015)", 0, XTYPE_XBOXONE },
        { 0x045e, 0x02e3, "Microsoft X-Box One Elite pad", 0, XTYPE_XBOXONE },
+       { 0x045e, 0x02ea, "Microsoft X-Box One S pad", 0, XTYPE_XBOXONE },
        { 0x045e, 0x0291, "Xbox 360 Wireless Receiver (XBOX)", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360W },
        { 0x045e, 0x0719, "Xbox 360 Wireless Receiver", MAP_DPAD_TO_BUTTONS, XTYPE_XBOX360W },
        { 0x044f, 0x0f07, "Thrustmaster, Inc. Controller", 0, XTYPE_XBOX },