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)
commit60781cf487e3aae5134b5fec85fe60ece31ff627
tree9f89d7489e844cedfbb17539e834ffcfff51c5c1
parent0bd88dd3dd5e73e5d43b8d1e7a96b841978df562
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