Re: [PATCH 1/2] HID: hid-lg4ff add support for G27 LEDs
From: Jiri Kosina
Date: Tue Mar 13 2012 - 04:23:58 EST
On Mon, 12 Mar 2012, simon@xxxxxxxxxxxxx wrote:
> >> The LEDs on the G27 are very much more specific, mounted on the yoke of
> >> the gaming wheel.
> >
> >> Would this require the use/complexity of the LED subsystem?
> >
> > Well, it'd mean that applications that know how to drive LEDs will be
> > able to use the LEDs on this wheel with less per device knowledge which
> > seems like a useful thing and if someone wants to remap a LED to "new
> > mail" or whatever that'll be easier (nethack has the mailer daemon
> > deliver a scroll of mail!).
>
> I'm not familiar with the LED subsystem, but my concerns would be that
> this would add a whole load of code to implement.
Not really, it's rather simple to use and as Mark said, it's a proper
infrastructure to use here.
We already have HID drivers which are using this -- you can look at
PicoLCD or Wiimote drivers and you'll see that it's indeed fairly simple.
> PS. I don't really care about email when screaming around Laguna Seca ;-)
:))
--
Jiri Kosina
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/