Searched hist:f5e4e7fdd57691d5308cf854dd0dbcfd58799e9a (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/samples/uhid/ |
H A D | uhid-example.c | diff f5e4e7fdd57691d5308cf854dd0dbcfd58799e9a Sun Sep 01 16:45:18 CDT 2013 David Herrmann <dh.herrmann@gmail.com> HID: uhid: improve uhid example client
This extends the uhid example client. It properly documents the built-in report-descriptor an adds explicit report-numbers.
Furthermore, LED output reports are added to utilize the new UHID output reports of the kernel. Support for 3 basic LEDs is added and a small report-parser to print debug messages if output reports were received.
To test this, simply write the EV_LED+LED_CAPSL+1 event to the evdev device-node of the uhid-device and the kernel will forward it to your uhid client.
Signed-off-by: David Herrmann <dh.herrmann@gmail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
|