Input: xpad - fix rumble on Xbox One controllers with 2015 firmware
authorCameron Gutman <aicommander@gmail.com>
Wed, 1 Jun 2016 18:32:51 +0000 (11:32 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 1 Jun 2016 21:21:27 +0000 (14:21 -0700)
commit540c26087bfbad6ea72758b76b16ae6282a73fea
tree58a63a585c66495ef1bbcddc7ddce4e9cc2a30fc
parentf49cf3b8b4c841457244c461c66186a719e13bcc
Input: xpad - fix rumble on Xbox One controllers with 2015 firmware

Xbox One controllers that shipped with or were upgraded to the 2015
firmware discard the current rumble packets we send. This patch changes
the Xbox One rumble packet to a form that both the newer and older
firmware will accept.

It is based on changes made to support newer Xbox One controllers in
the SteamOS brewmaster-4.1 kernel branch.

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