Lines Matching refs:libevdev_event_is_code
521 if (libevdev_event_is_code(&ev, EV_ABS, ABS_MT_SLOT)) in START_TEST()
525 ck_assert(libevdev_event_is_code(&last_slot_event, EV_ABS, ABS_MT_SLOT)); in START_TEST()
549 if (libevdev_event_is_code(&ev, EV_ABS, ABS_MT_SLOT)) in START_TEST()
553 ck_assert(libevdev_event_is_code(&last_slot_event, EV_ABS, ABS_MT_SLOT)); in START_TEST()
747 if (libevdev_event_is_code(&ev, EV_SYN, SYN_REPORT)) in START_TEST()
750 if (libevdev_event_is_code(&ev, EV_ABS, ABS_MT_SLOT)) { in START_TEST()
755 if (libevdev_event_is_code(&ev, EV_ABS, ABS_X) || in START_TEST()
756 libevdev_event_is_code(&ev, EV_ABS, ABS_Y)) in START_TEST()
761 if (libevdev_event_is_code(&ev, EV_ABS, ABS_MT_TRACKING_ID)) { in START_TEST()
948 if (libevdev_event_is_code(&ev, EV_KEY, BTN_TOOL_QUINTTAP)) { in START_TEST()
954 if (libevdev_event_is_code(&ev, EV_KEY, BTN_TOOL_TRIPLETAP)) in START_TEST()
957 if (libevdev_event_is_code(&ev, EV_KEY, BTN_TOOL_DOUBLETAP)) { in START_TEST()
963 ck_assert(!libevdev_event_is_code(&ev, EV_KEY, BTN_TOOL_TRIPLETAP)); in START_TEST()
964 ck_assert(!libevdev_event_is_code(&ev, EV_KEY, BTN_TOOL_QUADTAP)); in START_TEST()
965 ck_assert(!libevdev_event_is_code(&ev, EV_KEY, BTN_TOOL_FINGER)); in START_TEST()
967 if (libevdev_event_is_code(&ev, EV_SYN, SYN_REPORT)) { in START_TEST()
980 if (libevdev_event_is_code(&ev, EV_KEY, BTN_TOOL_QUADTAP)) { in START_TEST()
986 if (libevdev_event_is_code(&ev, EV_KEY, BTN_TOOL_TRIPLETAP)) in START_TEST()
989 if (libevdev_event_is_code(&ev, EV_KEY, BTN_TOOL_DOUBLETAP)) { in START_TEST()
995 ck_assert(!libevdev_event_is_code(&ev, EV_KEY, BTN_TOOL_TRIPLETAP)); in START_TEST()
996 ck_assert(!libevdev_event_is_code(&ev, EV_KEY, BTN_TOOL_QUINTTAP)); in START_TEST()
997 ck_assert(!libevdev_event_is_code(&ev, EV_KEY, BTN_TOOL_FINGER)); in START_TEST()
999 if (libevdev_event_is_code(&ev, EV_SYN, SYN_REPORT)) { in START_TEST()
1657 ck_assert(libevdev_event_is_code(ev, EV_ABS, ABS_MT_SLOT)); in START_TEST()
1673 ck_assert(libevdev_event_is_code(ev, EV_ABS, ABS_MT_SLOT)); in START_TEST()