aboutsummaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorDavid Herrmann <dh.herrmann@googlemail.com>2012-06-10 15:16:27 +0200
committerHumberto Borba <humberos@gmail.com>2013-01-12 21:05:50 -0200
commitf4a5c119011d60792a302c84850b2b31b74d2ecf (patch)
tree3aa7e2b92cd437155922105d7363d4cf43f90e3d /kernel
parent3b90a61906830e85dbb48eab76635fe0b5f6a5f2 (diff)
downloadkernel_samsung_smdk4412-f4a5c119011d60792a302c84850b2b31b74d2ecf.zip
kernel_samsung_smdk4412-f4a5c119011d60792a302c84850b2b31b74d2ecf.tar.gz
kernel_samsung_smdk4412-f4a5c119011d60792a302c84850b2b31b74d2ecf.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 'kernel')
0 files changed, 0 insertions, 0 deletions