Lines Matching refs:REL_WHEEL
630 axis = (which == REL_WHEEL || which == REL_WHEEL_HI_RES) ? in test_high_and_low_wheel_events_value()
666 if (which == REL_WHEEL) in test_wheel_event()
683 ck_assert(libevdev_has_event_code(dev->evdev, EV_REL, REL_WHEEL) || in START_TEST()
686 if (libevdev_has_event_code(dev->evdev, EV_REL, REL_WHEEL)) { in START_TEST()
687 test_wheel_event(dev, REL_WHEEL, -1); in START_TEST()
688 test_wheel_event(dev, REL_WHEEL, 1); in START_TEST()
690 test_wheel_event(dev, REL_WHEEL, -5); in START_TEST()
691 test_wheel_event(dev, REL_WHEEL, 6); in START_TEST()
715 litest_event(dev, EV_REL, REL_WHEEL, 1); in START_TEST()
761 litest_event(dev, EV_REL, REL_WHEEL, -1 * v120_amount/120); in test_hi_res_wheel_event()
818 litest_event(dev, EV_REL, REL_WHEEL, 1); in START_TEST()
821 test_high_and_low_wheel_events_value(dev, REL_WHEEL, -120); in START_TEST()
823 litest_event(dev, EV_REL, REL_WHEEL, -1); in START_TEST()
826 test_high_and_low_wheel_events_value(dev, REL_WHEEL, 120); in START_TEST()
855 litest_event(dev, EV_REL, REL_WHEEL, -1); in START_TEST()
858 test_high_and_low_wheel_events_value(dev, REL_WHEEL, 120); in START_TEST()
917 ck_assert(libevdev_has_event_code(dev->evdev, EV_REL, REL_WHEEL) || in START_TEST()
920 if (libevdev_has_event_code(dev->evdev, EV_REL, REL_WHEEL)) { in START_TEST()
921 test_wheel_event(dev, REL_WHEEL, -1); in START_TEST()
922 test_wheel_event(dev, REL_WHEEL, 1); in START_TEST()
924 test_wheel_event(dev, REL_WHEEL, -5); in START_TEST()
925 test_wheel_event(dev, REL_WHEEL, 6); in START_TEST()
947 if (!libevdev_has_event_code(dev->evdev, EV_REL, REL_WHEEL)) in START_TEST()
950 litest_event(dev, EV_REL, REL_WHEEL, 1); in START_TEST()