aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid/hid-apple.c
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@gmail.com>2013-09-01 23:45:18 +0200
committerJiri Kosina <jkosina@suse.cz>2013-09-04 11:35:14 +0200
commitf5e4e7fdd57691d5308cf854dd0dbcfd58799e9a (patch)
tree959b6a8c272d2e9dccd4f7c33b2607f3a033592c /drivers/hid/hid-apple.c
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid (diff)
downloadlinux-dev-f5e4e7fdd57691d5308cf854dd0dbcfd58799e9a.tar.xz
linux-dev-f5e4e7fdd57691d5308cf854dd0dbcfd58799e9a.zip
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>
Diffstat (limited to 'drivers/hid/hid-apple.c')
0 files changed, 0 insertions, 0 deletions