Find a file
Peter Hutterer 1901449871 Move opening and closing the device fd into evdev.c
evdev_device_remove() already calls close(device->fd). Move the
close_restricted call there to avoid one privileged call in the backend and
one in the device. And move the open_restricted() into the evdev device too to
reduce the duplicated code in the two backends.

Update to one of the tests: since we'd now fail getting the device node from
the invalid /tmp path, the open_func_count is 0.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2014-02-06 09:16:43 +10:00
doc doc: extract static members as well 2013-12-21 12:11:03 +01:00
m4 Port evdev code to be used as a shared library 2013-11-12 22:37:20 +01:00
src Move opening and closing the device fd into evdev.c 2014-02-06 09:16:43 +10:00
test Move opening and closing the device fd into evdev.c 2014-02-06 09:16:43 +10:00
tools Replace output screen size callback with transform helpers 2014-02-03 23:39:58 +01:00
.gitignore Add the framework for a test suite 2014-01-10 14:17:06 +10:00
autogen.sh Port evdev code to be used as a shared library 2013-11-12 22:37:20 +01:00
configure.ac tools: add a tool for basic event debugging 2014-01-31 14:57:19 +10:00
COPYING Add COPYING file 2014-01-31 14:57:18 +10:00
Makefile.am tools: add a tool for basic event debugging 2014-01-31 14:57:19 +10:00
README Port evdev code to be used as a shared library 2013-11-12 22:37:20 +01:00

This library does processing on input device events while providing an API
to the the user used for delegating more useful input events.

Input event processing includes scaling touch coordinates, generating
pointer events from touchpads, pointer acceleration, etc.

It is based on the input code from the weston Wayland reference compositor.

It has no other dependencies than libmtdev and supports only evdev devices.