return 0;
}
-
static int
tp_init(struct tp_dispatch *tp,
struct evdev_device *device)
&touch_event->base);
}
-
static void
libinput_post_event(struct libinput *libinput,
struct libinput_event *event)
}
}
-
static void
udev_input_disable(struct libinput *libinput)
{
-1, -1,
};
-
struct litest_test_device litest_keyboard_device = {
.type = LITEST_KEYBOARD,
.features = LITEST_KEYS,
NULL,
};
-
static struct list all_tests;
static void
return rc;
}
-
static void
litest_list_tests(struct list *tests)
{
return events;
}
-
static struct litest_device *
litest_create(enum litest_device_type which,
const char *name_override,
.close_restricted = close_restricted,
};
-
START_TEST(path_create_NULL)
{
struct libinput *li;
ck_assert_int_eq(nevents, 2);
-
libinput_suspend(li);
libinput_dispatch(li);
ck_assert_int_eq(nevents, 2);
-
libinput_suspend(li);
libinput_dispatch(li);
ck_assert_int_eq(nevents, 2);
-
libinput_suspend(li);
libinput_dispatch(li);
}
END_TEST
-
START_TEST(touch_many_slots)
{
struct libinput *libinput;
.close_restricted = close_restricted,
};
-
START_TEST(udev_create_NULL)
{
struct libinput *li;
return 0;
}
-
static int
open_restricted(const char *path, int flags, void *user_data)
{