]> git.baikalelectronics.ru Git - kernel.git/commit
Input: xpad - update Xbox One Force Feedback Support
authorPierre-Loup A. Griffais <githubpublic@plagman.net>
Wed, 9 Dec 2015 21:40:37 +0000 (13:40 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 4 Jan 2016 19:39:46 +0000 (11:39 -0800)
commit10179cdab85c27b3c249eedd1fedceabf40920c6
tree3760bab1b66c9a561bb52eae8ff19d80d6eead0c
parent7e0779cbcc9539680c79fc8bb8c72e7afe4eb1a0
Input: xpad - update Xbox One Force Feedback Support

There's apparently a serial number woven into both input and output
packets; neglecting to specify a valid serial number causes the controller
to ignore the rumble packets.

The scale of the rumble was also apparently halved in the packets.

The initialization packet had to be changed to allow force feedback to
work.

see https://github.com/paroj/xpad/issues/7 for details.

Signed-off-by: Pavel Rojtberg <rojtberg@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/joystick/xpad.c