mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-03 10:00:27 +01:00
tablet: add an extra debug message
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
This commit is contained in:
parent
192f063c1f
commit
902f1014c8
1 changed files with 8 additions and 2 deletions
|
|
@ -1969,8 +1969,14 @@ tablet_device_added(struct evdev_device *device,
|
|||
/* Touch screens or external touchpads only */
|
||||
if (evdev_device_has_capability(added_device, LIBINPUT_DEVICE_CAP_TOUCH) ||
|
||||
(evdev_device_has_capability(added_device, LIBINPUT_DEVICE_CAP_POINTER) &&
|
||||
(added_device->tags & EVDEV_TAG_EXTERNAL_TOUCHPAD)))
|
||||
tablet->touch_device = added_device;
|
||||
(added_device->tags & EVDEV_TAG_EXTERNAL_TOUCHPAD))) {
|
||||
evdev_log_debug(device,
|
||||
"touch-arbitration: activated for %s<->%s\n",
|
||||
device->devname,
|
||||
added_device->devname);
|
||||
tablet->touch_device = added_device;
|
||||
}
|
||||
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue