summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2018-05-16 11:56:12 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2018-05-16 11:58:14 +1000
commit2d111826899d788eac3b76ecca902598a9e730b3 (patch)
tree43b32d37ea04ece6ec176c598db7d7bc234efa5d /test
parent18498fcc49b78462b2b886494dabc2fdcac7ef04 (diff)
test: assume Wacom devices are external touchpads
Same as the code itself does. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'test')
-rw-r--r--test/litest.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/litest.h b/test/litest.h
index acd298db..26b93657 100644
--- a/test/litest.h
+++ b/test/litest.h
@@ -1019,6 +1019,9 @@ litest_touchpad_is_external(struct litest_device *dev)
const char *prop;
bool is_external;
+ if (libinput_device_get_id_vendor(dev->libinput_device) == VENDOR_ID_WACOM)
+ return true;
+
udev_device = libinput_device_get_udev_device(dev->libinput_device);
prop = udev_device_get_property_value(udev_device,
"ID_INPUT_TOUCHPAD_INTEGRATION");