Find a file
Peter Hutterer 0637d0237a When changing the fd, reset our grab state to ungrabbed
Previously, calling grabbing a device after changing the fd was a no-op
because libevdev's grab state didn't match the fd:

libevdev_grab(LIBEVDEV_GRAB);
  .. fd is grabbed
  .. internal state is 'grabbed'
libevdev_change_fd();
  .. new fd is ungrabbed
  .. internal state is 'grabbed'
libevdev_grab(LIBEVDEV_GRAB);
  .. argument matches internal state and we exit without grabbing the device

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2017-12-13 10:01:58 +10:00
doc doc: drop the HTML_TIMESTAMP 2016-08-29 08:00:49 +10:00
include/linux include: sync with kernel 4.13 2017-09-04 12:44:14 +10:00
libevdev When changing the fd, reset our grab state to ungrabbed 2017-12-13 10:01:58 +10:00
m4 m4: fix CC_CHECK_WERROR and CC_FLAG_VISIBILITY macros 2014-06-05 15:16:06 +10:00
test When changing the fd, reset our grab state to ungrabbed 2017-12-13 10:01:58 +10:00
tools tools: add a script to sync the kernel header files 2017-07-03 10:13:40 +10:00
.gitignore Add some more files to gitignore 2015-11-10 13:07:10 +10:00
autogen.sh autogen: add default patch prefix 2017-01-26 14:25:02 +10:00
configure.ac libevdev 1.5.7 2017-05-04 10:35:01 +10:00
COPYING Update COPYING file. 2013-11-15 09:30:10 +10:00
libevdev.pc.in Fix name and version in pkgconfig file 2013-07-24 07:27:17 +10:00
Makefile.am Disable test runs on make distcheck 2016-11-30 20:34:46 +10:00
README.md README: remove the warning, it's stable now 2014-02-11 16:27:50 +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/

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