Commit 6af06769 authored by Peter Hutterer's avatar Peter Hutterer

test: skip testing tablet buttons that don't exist on the device

Signed-off-by: Peter Hutterer's avatarPeter Hutterer <>
parent 9b174fc9
......@@ -123,6 +123,9 @@ START_TEST(proximity_out_clear_buttons)
uint32_t event_button;
enum libinput_button_state state;
if (!libevdev_has_event_code(dev->evdev, EV_KEY, button))
litest_tablet_proximity_in(dev, 10, 10, axes);
litest_event(dev, EV_KEY, button, 1);
litest_event(dev, EV_SYN, SYN_REPORT, 0);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment