Input: xpad - add support for PDP Xbox One controllers
authorMark Furneaux <mark@furneaux.ca>
Mon, 22 Jan 2018 19:24:17 +0000 (11:24 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 1 Dec 2018 08:48:04 +0000 (09:48 +0100)
commit849e8175a91e330f1e498cc933ce6d07fd94b4f2
tree436e25b7f0e764c2cfcd5907618e4f20740beb52
parent2da1f7c60b63b74d894a22a8ddcfea25082a254e
Input: xpad - add support for PDP Xbox One controllers

[ Upstream commit e5c9c6a885fad00aa559b49d8fc23a60e290824e ]

Adds support for the current lineup of Xbox One controllers from PDP
(Performance Designed Products). These controllers are very picky with
their initialization sequence and require an additional 2 packets before
they send any input reports.

Signed-off-by: Mark Furneaux <mark@furneaux.ca>
Reviewed-by: Cameron Gutman <aicommander@gmail.com>
Cc: stable@vger.kernel.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Sasha Levin <sashal@kernel.org>
drivers/input/joystick/xpad.c