Find a file
Peter Hutterer a9a24c33e7 test: allow partial overriding the test devices
For specific tests we need something that e.g. looks like a touchpad, but has
a different name, a different number of slots, etc. In this case, the
following code will do exactly that:

struct input_absinfo overrides[] = {
 { .value = ABS_MT_SLOT, .minimum = 0, .maximum = 100 },
 { .value = -1 },
};

litest_create_device_with_overrides(LITEST_SYNAPTICS_CLICKPAD,
				    NULL, NULL, &overrides, NULL);

For general event codes, overrides can only add to the set of events, they
can't remove.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2014-04-08 15:07:02 +10:00
doc touchpad: add support for multi-finger tapping 2014-03-24 14:56:40 +10:00
m4 Port evdev code to be used as a shared library 2013-11-12 22:37:20 +01:00
src Make libinput.h safe to be included from C++ 2014-03-28 23:50:48 +01:00
test test: allow partial overriding the test devices 2014-04-08 15:07:02 +10:00
tools tools: drop CLOCK_MONOTONIC call, no longer necessary 2014-03-06 15:27:47 +10: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 configure.ac: Always check for C++ compiler 2014-03-29 14:39:42 +01: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 Update README 2014-02-26 19:50:37 +01:00

libinput

libinput is a library that handles input devices for display servers and other
applications that need to directly deal with input devices.

It provides device detection, device handling, input device event processing
and abstraction so minimize the amount of custom input code the user of
libinput need to provide the common set of functionality that users expect.

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

libinput originates from weston, the Wayland reference compositor.

The source code of libinput can be found at:
http://cgit.freedesktop.org/wayland/libinput

For more information, visit:
http://www.freedesktop.org/wiki/Software/libinput/