HID: hid-lg4ff: Add support for G27 LEDs
authorSimon Wood <simon@mungewell.org>
Sat, 21 Apr 2012 12:41:15 +0000 (05:41 -0700)
committerJiri Kosina <jkosina@suse.cz>
Mon, 23 Apr 2012 18:52:15 +0000 (20:52 +0200)
commit22bcefdc8838186f2253edbfd4a0c22cb85d030e
tree44bdf59337c3a4e6a2d91948b4f9fa6fc75889da
parent3b6b17b7330c0fab7d8442b6d225bee905df3745
HID: hid-lg4ff: Add support for G27 LEDs

This patch adds supports for controlling the LED 'tachometer' on
the G27 wheel, via the LED subsystem.

The 5 LEDs are arranged from right (1=grn, 2=grn, 3=yel, 4=yel, 5=red)
and 'mirrored' to the left (10 LEDs in total).

Signed-off-by: Simon Wood <simon@mungewell.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
drivers/hid/hid-lg4ff.c