]> git.baikalelectronics.ru Git - kernel.git/commit
HID: sony: Add LED controls for the Dualshock 4
authorFrank Praznik <frank.praznik@oh.rr.com>
Sat, 11 Jan 2014 20:13:15 +0000 (15:13 -0500)
committerJiri Kosina <jkosina@suse.cz>
Thu, 16 Jan 2014 21:44:35 +0000 (22:44 +0100)
commit0f974f8b0ec96691bb9579e04f910f5cc2b9c872
tree9f89d7489e844cedfbb17539e834ffcfff51c5c1
parente29e45c9230abcd64bf456c76a9ee122a06787be
HID: sony: Add LED controls for the Dualshock 4

Add LED lightbar controls for the Dualshock 4.

The Dualshock 4 light bar has 3 separate RGB LEDs that can range in
brightness from 0 to 255 so a full byte is now needed to store each LED's
state

Changed the module to support an arbitrary number of LEDs instead of being
hardcoded to 4.

Signed-off-by: Frank Praznik <frank.praznik@oh.rr.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-sony.c