summaryrefslogtreecommitdiffstats
path: root/samples/uhid/Makefile
Commit message (Collapse)AuthorAgeFilesLines
* kbuild: remove all dummy assignments to obj-Masahiro Yamada2017-11-181-3/+0Star
| | | | | | | Now kbuild core scripts create empty built-in.o where necessary. Remove "obj- := dummy.o" tricks. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
* HID: uhid: add example programDavid Herrmann2012-06-181-0/+10
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>