OSDN Git Service

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:44:23 +0000 (09:44 +0100)
commitedcfecdc9a3d7efd845853ad9557bd8145ad2f7e
tree44a9aced5caf76205fd256a834352bbcd705a39e
parentac8f836e6d6d200a23849c7642a709e80d03c880
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