Find a file
Peter Hutterer e4d50a73a1 test: fix expected delta from relative motion
We send two delta events. One may get eaten or softened by the accel code but
our expectation should be that both may get through, so the length of the
expected vector is √((2dx)² + (2dy)²). That is the maximum length we expect
though for deltas ranged [-1, 1].

Deltas above the threshold would fail this test but we can fix that when
needed.

Pointer acceleration is subject to timing changes. When running tests in
valgrind pointer accel timeouts and tracker resets may happen so we can't
guarantee a specific acceleration length.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2014-07-09 12:39:45 +10:00
doc touchpad: drop the BOTTOM_TO_AREA/BOTTOM_NEW states 2014-07-04 07:51:43 +10:00
include/linux Add our own version of linux/input.h 2014-06-04 09:40:39 +10:00
m4 Port evdev code to be used as a shared library 2013-11-12 22:37:20 +01:00
src filter: rename motion_filter_destroy to filter_destroy 2014-07-09 12:39:41 +10:00
test test: fix expected delta from relative motion 2014-07-09 12:39:45 +10:00
tools tools: fix touch/abs event coordinate transformation in event-gui 2014-07-03 09:59:22 +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: print a summary of the build options 2014-07-03 11:17:49 +10:00
COPYING test: Test seat wide button and key count helpers 2014-04-23 00:07:40 +02:00
Makefile.am test: automatically run the tests against valgrind for leaks 2014-04-10 11:11:56 +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/