aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hid
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2012-06-10 15:16:27 +0200
committerPawit Pornkitprasan <p.pawit@gmail.com>2012-12-05 23:04:13 +0700
commit576b72b63b85458a7f0a6835d5e4e19515702e79 (patch)
tree6fb48fa8001c4175f48798a1bd341c2b08af4f2e /drivers/hid
parent6a5c4265605f3d511ed61c833def31cda5b7efb7 (diff)
downloadkernel_samsung_aries-576b72b63b85458a7f0a6835d5e4e19515702e79.zip
kernel_samsung_aries-576b72b63b85458a7f0a6835d5e4e19515702e79.tar.gz
kernel_samsung_aries-576b72b63b85458a7f0a6835d5e4e19515702e79.tar.bz2
HID: uhid: add example program
This adds an example user-space program that emulates a 3 button mouse with wheel. It detects keyboard presses and moves the mouse accordingly. It register a fake HID device to feed the raw HID reports into the kernel. In this example, you could use uinput to get the same result, but this shows how to get the same behavior with uhid so you don't need HID parsers in user-space. Signed-off-by: David Herrmann <dh.herrmann@googlemail.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
Diffstat (limited to 'drivers/hid')
0 files changed, 0 insertions, 0 deletions