touchpad: log when thumb detection is enabled on a device
authorPeter Hutterer <peter.hutterer@who-t.net>
Tue, 28 Jul 2015 03:09:52 +0000 (13:09 +1000)
committerPeter Hutterer <peter.hutterer@who-t.net>
Tue, 28 Jul 2015 22:59:25 +0000 (08:59 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
src/evdev-mt-touchpad.c

index ebb8cee..668a405 100644 (file)
@@ -1787,6 +1787,10 @@ tp_init_thumb(struct tp_dispatch *tp)
        tp->thumb.upper_thumb_line = ymax - yres * 15;
        tp->thumb.lower_thumb_line = ymax - yres * 8;
 
+       log_debug(tp_libinput_context(tp),
+                 "thumb: enabled thumb detection on '%s'\n",
+                 device->devname);
+
        return 0;
 }