test: assume Wacom devices are external touchpads
authorPeter Hutterer <peter.hutterer@who-t.net>
Wed, 16 May 2018 01:56:12 +0000 (11:56 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Wed, 16 May 2018 01:58:14 +0000 (11:58 +1000)
Same as the code itself does.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/litest.h

index acd298dbb13b973e8520fe73f890b68b8b6cbb75..26b93657942d8ab0b7b1ce88769fa9f8945a5a5a 100644 (file)
@@ -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");