mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 04:40:25 +01:00
test: assume Wacom devices are external touchpads
Same as the code itself does. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
18498fcc49
commit
2d11182689
1 changed files with 3 additions and 0 deletions
|
|
@ -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");
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue