Peter Hutterer 0dbf1ea4f8 Don't allow a negative fd in libevdev_set_fd
Everything else responds with -EBADF, let's do so here as well.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2013-10-14 14:20:55 +10:00
2013-09-13 15:49:50 +10:00
2013-09-10 10:01:14 +10:00
2013-08-26 07:59:07 +10:00
2013-07-22 08:34:55 +10:00

libevdev - wrapper library for evdev input devices

libevdev is a wrapper library for evdev devices. it moves the common tasks when dealing with evdev devices into a library and provides a library interface to the callers, thus avoiding erroneous ioctls, etc.

git://git.freedesktop.org/git/libevdev http://cgit.freedesktop.org/libevdev/

libevdev is currently in early stages of development. Use at your own risk

The eventual goal is that libevdev wraps all ioctls available to evdev devices, thus making direct access unnecessary.

Go here for the API documentation: http://www.freedesktop.org/software/libevdev/doc/latest/

File bugs in the freedesktop.org bugzilla: https://bugs.freedesktop.org/enter_bug.cgi?product=libevdev

Patches, questions and general comments should be submitted to the input-tools@lists.freedesktop.org mailing list: http://lists.freedesktop.org/mailman/listinfo/input-tools

S
Description
No description provided
Readme
1 MiB
0 Stars 1 Watchers 0 Forks
Languages
C 91.7%
M4 2.6%
Meson 1.8%
Makefile 1.1%
Shell 1%
Other 1.8%