Find a file
Peter Hutterer 69dcea11b9 path: add libinput_path_add_device() and libinput_path_remove_device()
This allows multiple devices to share a single libinput context. The new
function returns the newly added device immediately. Unlike the udev seat
where devices may or may not be added - over the lifetime of the seat - a
path-based backend knows immediately if device exists or doesn't exist.

Returning the device is required by callers that have the event processing
separate from adding devices - by the time we have the DEVICE_ADDED event in
the queue we may have other events to process first. And the DEVICE_ADDED
event won't easily link to the path we gave it anyway, so it's hard to figure
out which DEVICE_ADDED event corresponds to the new device.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
2014-02-10 11:23:36 +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 path: add libinput_path_add_device() and libinput_path_remove_device() 2014-02-10 11:23:36 +10:00
test path: add libinput_path_add_device() and libinput_path_remove_device() 2014-02-10 11:23:36 +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.