]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
Input: xpad - set the LEDs properly on XBox Wireless controllers
authorPierre-Loup A. Griffais <pgriffais@valvesoftware.com>
Mon, 22 Jun 2015 21:10:36 +0000 (14:10 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 22 Jun 2015 21:24:57 +0000 (14:24 -0700)
commit75b7f05d2798ee3a1cc5bbdd54acd0e318a80396
treea5882c75aca99569f57b93a449000eb0ccef09ca
parente998200c1912f22cf257ae88771e56de588ee8fb
Input: xpad - set the LEDs properly on XBox Wireless controllers

Based on Patch by Pierre-Loup A. Griffais <pgriffais@valvesoftware.com>:
Add the logic to set the LEDs on XBox Wireless controllers.  Command
sequence found by sniffing the Windows data stream when plugging the
device in.

Updated based on comments on linux-input:
unify codepaths in xpad_send_led_command for wired/ wireless controller.
Also document command values for clarification.
All values tested on Xbox 360 Wireless Controller.

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