mirror of
https://gitlab.freedesktop.org/libinput/libinput.git
synced 2026-02-04 19:50:25 +01:00
test: only run 3-slot test for touchpads with three slots
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net> Reviewed-by: Hans de Goede <hdegoede@redhat.com>
This commit is contained in:
parent
689632cd0a
commit
8ba5b9cbf9
1 changed files with 1 additions and 0 deletions
|
|
@ -456,6 +456,7 @@ START_TEST(touchpad_4fg_clickfinger_btntool_3slots)
|
|||
struct libinput_event *event;
|
||||
|
||||
if (libevdev_get_num_slots(dev->evdev) >= 4 ||
|
||||
libevdev_get_num_slots(dev->evdev) < 3 ||
|
||||
!libevdev_has_event_code(dev->evdev, EV_KEY, BTN_TOOL_TRIPLETAP))
|
||||
return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue