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>
Wed, 31 Jan 2018 13:03:42 +0000 (14:03 +0100)
commit25cb145272525e819b21fb44dc338d08b6af816f
tree71226867c5107195d7b6be4a8f6cbf072bc2e353
parent5cc765d69c4faf7dabfa5816add84ee52bc7912b
Input: xpad - add support for PDP Xbox One controllers

commit e5c9c6a885fad00aa559b49d8fc23a60e290824e upstream.

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>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/input/joystick/xpad.c