summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCameron Gutman <aicommander@gmail.com>2016-11-27 20:37:31 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2016-11-27 20:45:12 -0800
commit599b8c09d974d6e4d85a8f7bc8ed7442977866a8 (patch)
treeac8b1b78ac74f4cc11a45804441e7d0640d4c8ec
parent3d5a9437a68a184fbbd0dcf09bf4daf40250505e (diff)
downloadlinux-stable-599b8c09d974d6e4d85a8f7bc8ed7442977866a8.tar.gz
linux-stable-599b8c09d974d6e4d85a8f7bc8ed7442977866a8.tar.bz2
linux-stable-599b8c09d974d6e4d85a8f7bc8ed7442977866a8.zip
Input: xpad - add product ID for Xbox One S pad
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>
-rw-r--r--drivers/input/joystick/xpad.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/input/joystick/xpad.c b/drivers/input/joystick/xpad.c
index 83af17ad0f1f..19886dbfe18d 100644
--- a/drivers/input/joystick/xpad.c
+++ b/drivers/input/joystick/xpad.c
@@ -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 },