current = tp->buttons.state;
old = tp->buttons.old_state;
- button = 0;
is_top = 0;
if (!tp->buttons.click_pending && current == old)
libinput_event_destroy(event);
- dir_x = cardinals[cardinal][0];
- dir_y = cardinals[cardinal][1];
while ((event = libinput_get_event(li)) != NULL) {
gevent = litest_is_gesture_event(event,
LIBINPUT_EVENT_GESTURE_PINCH_UPDATE,
libinput_event_destroy(event);
- dir_x = cardinals[cardinal][0];
- dir_y = cardinals[cardinal][1];
while ((event = libinput_get_event(li)) != NULL) {
gevent = litest_is_gesture_event(event,
LIBINPUT_EVENT_GESTURE_PINCH_UPDATE,
}
if (have_lineno) {
- litest_log("%u: %s() (%s:%d)\n",
+ litest_log("%d: %s() (%s:%d)\n",
i,
procname,
file,
line);
} else {
- litest_log("%u: %s (%s%s+%#x) [%p]\n",
+ litest_log("%d: %s (%s%s+%#x) [%p]\n",
i,
filename,
procname,
struct libinput_event_pointer *p1, *p2;
int axis = _i; /* looped test */
- dev = litest_current_device();
libinput1 = dev->libinput;
litest_touch_down(dev, 0, 40, 60);
litest_touch_up(dev, 0);
#include "shared.h"
-static inline const char*
-bool_to_str(bool b)
-{
- if (b)
- return "yes";
- else
- return "no";
-}
-
static const char *
tap_default(struct libinput_device *device)
{