Re: question on LEDs on keyboards

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Am Dienstag, 14. Oktober 2008 15:32:41 schrieb Jiri Kosina:
> On Tue, 14 Oct 2008, Oliver Neukum wrote:
> 
> > I found an error in the hid autosuspend patches. Keyboards can have more 
> > than one LED. Is there a way to query the HID layer about active LEDs?
> 
> Hi Oliver,
> 
> you can either get the information from the underlying input device, or 
> you can use hidinput_find_field() to find the fields of EV_LED type, and 
> obtain the value from the offset that this function gives you.

What is the prefered way of doing that? There seems to be no hid_get_field().

	Regards
		Oliver
--
To unsubscribe from this list: send the line "unsubscribe linux-input" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media Devel]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Linux Wireless Networking]     [Linux Omap]

  Powered by Linux