From dda6f733af4960b15233909afff77a9f22ad92c5 Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Wed, 10 Jul 2019 12:45:46 +1000 Subject: [PATCH] test: make the touchpad size the only check for thumb detection Signed-off-by: Peter Hutterer --- test/test-touchpad.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/test/test-touchpad.c b/test/test-touchpad.c index 9ce9456..32d4fb3 100644 --- a/test/test-touchpad.c +++ b/test/test-touchpad.c @@ -5000,9 +5000,6 @@ has_thumb_detect(struct litest_device *dev) { double w, h; - if (!libevdev_has_event_code(dev->evdev, EV_ABS, ABS_MT_PRESSURE)) - return 0; - if (libinput_device_get_size(dev->libinput_device, &w, &h) != 0) return 0; -- 2.7.4