libinput/src
Jonas Ådahl 091206c907 Ignore test devices for libinput contexts not run from the test suite
Add a LIBINPUT_TEST_DEVICE udev parameter to test devices created by
the test suite. When an application tries to add such a device to the
path backend or when the udev backend discovers such a device, it will
be ignored. Only the context when run via the test suite will actually
handle these devices.

Doing this will enable a user to run the libinput test suite on a system
running libinput without having the test suite devices interfering with
the actual system.

Note that X.org users running an input device driver that is not the
libinput X input driver will still need to manually configure the X
server to ignore such devices (see test/50-litest.conf).

Signed-off-by: Jonas Ådahl <jadahl@gmail.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
2015-07-28 17:42:32 +08:00
..
evdev-middle-button.c Change to micro seconds for measuring time internally 2015-07-28 17:42:32 +08:00
evdev-mt-touchpad-buttons.c Change to micro seconds for measuring time internally 2015-07-28 17:42:32 +08:00
evdev-mt-touchpad-edge-scroll.c Change to micro seconds for measuring time internally 2015-07-28 17:42:32 +08:00
evdev-mt-touchpad-gestures.c Change to micro seconds for measuring time internally 2015-07-28 17:42:32 +08:00
evdev-mt-touchpad-tap.c Change to micro seconds for measuring time internally 2015-07-28 17:42:32 +08:00
evdev-mt-touchpad.c Change to micro seconds for measuring time internally 2015-07-28 17:42:32 +08:00
evdev-mt-touchpad.h Always use uint64_t for internal timestamp values 2015-07-28 16:15:43 +08:00
evdev.c Change to micro seconds for measuring time internally 2015-07-28 17:42:32 +08:00
evdev.h Always use uint64_t for internal timestamp values 2015-07-28 16:15:43 +08:00
filter-private.h COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
filter.c Change to micro seconds for measuring time internally 2015-07-28 17:42:32 +08:00
filter.h filter: add a custom low-dpi acceleration 2015-07-02 13:03:43 +10:00
libinput-private.h Ignore test devices for libinput contexts not run from the test suite 2015-07-28 17:42:32 +08:00
libinput-util.c Change to micro seconds for measuring time internally 2015-07-28 17:42:32 +08:00
libinput-util.h Change to micro seconds for measuring time internally 2015-07-28 17:42:32 +08:00
libinput-version.h.in COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
libinput.c Ignore test devices for libinput contexts not run from the test suite 2015-07-28 17:42:32 +08:00
libinput.h Change to micro seconds for measuring time internally 2015-07-28 17:42:32 +08:00
libinput.pc.in Add -lrt to the libs 2014-07-03 09:59:43 +10:00
libinput.sym Change to micro seconds for measuring time internally 2015-07-28 17:42:32 +08:00
Makefile.am evdev: add support for middle button emulation 2015-04-17 12:50:03 +10:00
path.c Ignore test devices for libinput contexts not run from the test suite 2015-07-28 17:42:32 +08:00
path.h COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00
timer.c Change to micro seconds for measuring time internally 2015-07-28 17:42:32 +08:00
timer.h Change to micro seconds for measuring time internally 2015-07-28 17:42:32 +08:00
udev-seat.c Ignore test devices for libinput contexts not run from the test suite 2015-07-28 17:42:32 +08:00
udev-seat.h COPYING: Update boilerplate from MIT X11 to MIT Expat license 2015-06-16 14:36:04 +10:00