projects
/
platform
/
upstream
/
libinput.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8e4d820
)
test: make the touchpad size the only check for thumb detection
author
Peter Hutterer
<peter.hutterer@who-t.net>
Wed, 10 Jul 2019 02:45:46 +0000
(12:45 +1000)
committer
Peter Hutterer
<peter.hutterer@who-t.net>
Mon, 15 Jul 2019 03:08:47 +0000
(13:08 +1000)
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
test/test-touchpad.c
patch
|
blob
|
history
diff --git
a/test/test-touchpad.c
b/test/test-touchpad.c
index
9ce9456
..
32d4fb3
100644
(file)
--- 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;