And add an example xorg.conf.d .conf file for ignoring these devices under
xorg.
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Reviewed-by: Peter Hutterer <peter.hutterer@who-t.net>
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
--- /dev/null
+# Ignore devices created by libinput's test suite (litest)
+Section "InputClass"
+ Identifier "libinput test suite blacklist"
+ MatchProduct "litest"
+ Option "Ignore" "on"
+EndSection
.flat = 0,
.resolution = 100
};
+ char buf[512];
dev = libevdev_new();
ck_assert(dev != NULL);
- libevdev_set_name(dev, name);
+ snprintf(buf, sizeof(buf), "litest %s", name);
+ libevdev_set_name(dev, buf);
if (id) {
libevdev_set_id_bustype(dev, id->bustype);
libevdev_set_id_vendor(dev, id->vendor);