summaryrefslogtreecommitdiff
path: root/libevdev/libevdev-uinput.h
Commit message (Collapse)AuthorAgeFilesLines
* doc: add the prefixing * to all @code doxygen sectionsPeter Hutterer2014-11-181-63/+63
| | | | | | | | These were removed in (7da329b) because for some reason they got copied into the output. That was either a buggy doxygen or just some other problem. Add them again, makes it much easier to read the header file. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* doc: fix uinput example codePeter Hutterer2014-11-181-7/+13
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* uinput: use the UI_GET_SYSNAME ioctl if availablePeter Hutterer2014-06-201-12/+9
| | | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Benjamin Tissoires <benjamin.tissoires@gmail.com>
* whitespace fixPeter Hutterer2014-06-191-1/+1
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* More documentation fixes and improvementsPeter Hutterer2014-02-121-7/+6
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Add more cross-referencesPeter Hutterer2013-12-241-5/+5
| | | | | | | doxygen doesn't detect enum cross-references automatically, prefix them with @ref Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* doc: remove initial * from example code linesPeter Hutterer2013-12-241-57/+57
| | | | | | doxygen actually copies that over into the resulting output. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Drop trailing comma from last element in the enumsPeter Hutterer2013-11-221-1/+1
| | | | | | | If a caller is compiled with -pedantic, this causes a few complaints Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: David Herrmann <dh.herrmann@gmail.com>
* Add extern C guards to libevdev-uinput.hPeter Hutterer2013-09-191-0/+7
| | | | | Reported-by: Stanisław Halik <sthalik@misaki.pl> Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Capitalize uinput header guardsPeter Hutterer2013-09-191-3/+3
| | | | | | victim of some overly vicious search/replace Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Fix a typo in the uinput documentationPeter Hutterer2013-09-171-2/+2
| | | | Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
* Add support for uinput device creationPeter Hutterer2013-08-291-0/+230
This lets libevdev provide a relatively generic interface for the creation of uinput devices so we don't need to duplicate this across multiple projects. Most of this is lifted from the current test implementation, with a couple of minor changes. EV_REP needs special handling: Kernel allows to set the EV_REP bit, it doesn't set REP_* bits (which we wrap anyway) but it will also set the default values (500, 33). Device node is guessed based on the sysfs path: The sysfs path contains a eventN file, that corresponds to our /dev/input/eventN number. Use it so clients can quickly get the device node, without a libudev dependency. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>