/third_party/libevdev/test/ |
D | test-uinput.c | 30 libevdev_enable_event_type(dev, EV_REL); in START_TEST() 31 libevdev_enable_event_code(dev, EV_REL, REL_X, NULL); in START_TEST() 32 libevdev_enable_event_code(dev, EV_REL, REL_Y, NULL); in START_TEST() 33 libevdev_enable_event_code(dev, EV_REL, REL_MAX, NULL); in START_TEST() 83 libevdev_enable_event_type(dev, EV_REL); in START_TEST() 84 libevdev_enable_event_code(dev, EV_REL, REL_X, NULL); in START_TEST() 85 libevdev_enable_event_code(dev, EV_REL, REL_Y, NULL); in START_TEST() 110 libevdev_enable_event_type(dev, EV_REL); in START_TEST() 111 libevdev_enable_event_code(dev, EV_REL, REL_X, NULL); in START_TEST() 112 libevdev_enable_event_code(dev, EV_REL, REL_Y, NULL); in START_TEST() [all …]
|
D | test-libevdev-init.c | 67 EV_REL, REL_X, in START_TEST() 68 EV_REL, REL_Y, in START_TEST() 69 EV_REL, REL_WHEEL, in START_TEST() 339 EV_REL, REL_X, in START_TEST() 340 EV_REL, REL_Y, in START_TEST() 341 EV_REL, REL_WHEEL, in START_TEST() 367 EV_REL, REL_X, in START_TEST() 368 EV_REL, REL_Y, in START_TEST() 369 EV_REL, REL_WHEEL, in START_TEST() 392 EV_REL, REL_X, in START_TEST() [all …]
|
D | test-kernel.c | 31 EV_REL, REL_X, in START_TEST() 32 EV_REL, REL_Y, in START_TEST() 33 EV_REL, REL_WHEEL, in START_TEST() 44 uinput_device_event(uidev, EV_REL, REL_X, 1); in START_TEST() 69 uinput_device_event(uidev, EV_REL, REL_X, 1); in START_TEST() 95 EV_REL, REL_X, in START_TEST() 96 EV_REL, REL_Y, in START_TEST() 97 EV_REL, REL_WHEEL, in START_TEST() 123 EV_REL, REL_X, in START_TEST() 124 EV_REL, REL_Y, in START_TEST() [all …]
|
D | test-event-names.c | 13 ck_assert(libevdev_event_code_get_name(EV_REL, REL_MAX + 1) == NULL); in START_TEST() 29 ck_assert_str_eq(libevdev_event_type_get_name(EV_REL), "EV_REL"); in START_TEST() 61 ck_assert_str_eq(libevdev_event_code_get_name(EV_REL, REL_X), "REL_X"); in START_TEST() 62 ck_assert_str_eq(libevdev_event_code_get_name(EV_REL, REL_Y), "REL_Y"); in START_TEST() 63 ck_assert_str_eq(libevdev_event_code_get_name(EV_REL, REL_MISC), "REL_MISC"); in START_TEST() 64 ck_assert_str_eq(libevdev_event_code_get_name(EV_REL, REL_MAX), "REL_MAX"); in START_TEST() 66 ck_assert(libevdev_event_code_get_name(EV_REL, REL_MAX - 1) == NULL); in START_TEST() 233 ck_assert_int_eq(libevdev_event_type_get_max(EV_REL), REL_MAX); in START_TEST() 247 ev.type = EV_REL; in START_TEST() 249 ck_assert_int_eq(libevdev_event_is_type(&ev, EV_REL), 1); in START_TEST() [all …]
|
D | test-libevdev-has-event.c | 16 EV_SYN, EV_KEY, EV_REL, EV_ABS, EV_MSC, 465 EV_REL, REL_X, in START_TEST() 518 EV_REL, REL_X, in START_TEST() 558 EV_REL, REL_X, in START_TEST() 748 ck_assert(!libevdev_has_event_type(dev, EV_REL)); in START_TEST() 749 ck_assert(!libevdev_has_event_code(dev, EV_REL, REL_X)); in START_TEST() 760 ck_assert_int_eq(libevdev_enable_event_type(dev, EV_REL), 0); in START_TEST() 761 ck_assert(libevdev_has_event_type(dev, EV_REL)); in START_TEST() 762 ck_assert(!libevdev_has_event_code(dev, EV_REL, REL_X)); in START_TEST() 764 ck_assert_int_eq(libevdev_enable_event_code(dev, EV_REL, REL_X, NULL), 0); in START_TEST() [all …]
|
D | test-libevdev-events.c | 24 EV_REL, REL_X, in START_TEST() 25 EV_REL, REL_Y, in START_TEST() 59 EV_REL, REL_X, in START_TEST() 60 EV_REL, REL_Y, in START_TEST() 90 EV_REL, REL_X, in START_TEST() 91 EV_REL, REL_Y, in START_TEST() 122 EV_REL, REL_X, in START_TEST() 123 EV_REL, REL_Y, in START_TEST() 178 EV_REL, REL_X, in START_TEST() 179 EV_REL, REL_Y, in START_TEST() [all …]
|
D | test-event-codes.c | 13 ck_assert_int_eq(libevdev_event_type_from_name("EV_REL"), EV_REL); in START_TEST() 45 ck_assert_int_eq(libevdev_event_type_from_code_name("REL_Z"), EV_REL); in START_TEST() 59 ck_assert_int_eq(libevdev_event_type_from_code_name("REL_MAX"), EV_REL); in START_TEST() 82 ck_assert_int_eq(libevdev_event_code_from_name(EV_REL, "REL_X"), REL_X); in START_TEST() 170 ck_assert_int_eq(libevdev_event_code_from_name(EV_REL, "REL_MAX"), REL_MAX); in START_TEST() 204 ck_assert_int_eq(libevdev_event_value_from_name(EV_REL, REL_X, "MT_TOOL_PALM"), -1); in START_TEST()
|
/third_party/libinput/test/ |
D | litest-device-mouse-low-dpi.c | 39 EV_REL, REL_X, 40 EV_REL, REL_Y, 41 EV_REL, REL_WHEEL, 42 EV_REL, REL_WHEEL_HI_RES, 43 EV_REL, REL_HWHEEL, 44 EV_REL, REL_HWHEEL_HI_RES,
|
D | litest-device-ms-nano-transceiver-mouse.c | 41 EV_REL, REL_X, 42 EV_REL, REL_Y, 43 EV_REL, REL_WHEEL, 44 EV_REL, REL_DIAL, 45 EV_REL, REL_HWHEEL,
|
D | test-path.c | 238 EV_REL, REL_X, in START_TEST() 239 EV_REL, REL_Y, in START_TEST() 575 EV_REL, REL_X, in START_TEST() 576 EV_REL, REL_Y, in START_TEST() 605 EV_REL, REL_X, in START_TEST() 606 EV_REL, REL_Y, in START_TEST() 636 EV_REL, REL_X, in START_TEST() 637 EV_REL, REL_Y, in START_TEST() 669 EV_REL, REL_X, in START_TEST() 670 EV_REL, REL_Y, in START_TEST() [all …]
|
D | test-pointer.c | 52 litest_event(dev, EV_REL, REL_X, dx); in test_relative_event() 53 litest_event(dev, EV_REL, REL_Y, dy); in test_relative_event() 118 litest_event(dev, EV_REL, REL_X, 1); in START_TEST() 119 litest_event(dev, EV_REL, REL_Y, 0); in START_TEST() 150 litest_event(dev, EV_REL, REL_X, 0); in START_TEST() 151 litest_event(dev, EV_REL, REL_Y, 0); in START_TEST() 159 litest_event(dev, EV_REL, REL_X, 1); in START_TEST() 160 litest_event(dev, EV_REL, REL_Y, 0); in START_TEST() 168 litest_event(dev, EV_REL, REL_X, 0); in START_TEST() 169 litest_event(dev, EV_REL, REL_Y, 0); in START_TEST() [all …]
|
D | litest-device-format-string.c | 40 EV_REL, REL_X, 41 EV_REL, REL_Y, 42 EV_REL, REL_WHEEL, 43 EV_REL, REL_WHEEL_HI_RES,
|
D | litest-device-mouse.c | 39 EV_REL, REL_X, 40 EV_REL, REL_Y, 41 EV_REL, REL_WHEEL, 42 EV_REL, REL_WHEEL_HI_RES,
|
D | litest-device-mouse-wheel-tilt.c | 39 EV_REL, REL_X, 40 EV_REL, REL_Y, 41 EV_REL, REL_WHEEL, 42 EV_REL, REL_HWHEEL,
|
D | litest-device-apple-magicmouse.c | 67 EV_REL, REL_X, 68 EV_REL, REL_Y, 69 EV_REL, REL_WHEEL, 70 EV_REL, REL_HWHEEL,
|
D | litest-device-ignored-mouse.c | 39 EV_REL, REL_X, 40 EV_REL, REL_Y, 41 EV_REL, REL_WHEEL,
|
D | litest-device-mouse-wheel-click-count.c | 39 EV_REL, REL_X, 40 EV_REL, REL_Y, 41 EV_REL, REL_WHEEL,
|
D | litest-device-mouse-wheel-click-angle.c | 39 EV_REL, REL_X, 40 EV_REL, REL_Y, 41 EV_REL, REL_WHEEL,
|
D | litest-device-mouse-roccat.c | 36 EV_REL, REL_X, 37 EV_REL, REL_Y, 38 EV_REL, REL_WHEEL, 39 EV_REL, REL_HWHEEL, 40 EV_REL, REL_DIAL,
|
D | test-device.c | 151 litest_event(dev, EV_REL, REL_X, 10); in START_TEST() 168 litest_event(dev, EV_REL, REL_X, 10); in START_TEST() 349 litest_event(dev, EV_REL, REL_X, 10); in START_TEST() 445 litest_event(litest_device, EV_REL, REL_X, 1); in START_TEST() 446 litest_event(litest_device, EV_REL, REL_Y, 1); in START_TEST() 860 EV_REL, REL_X, in START_TEST() 861 EV_REL, REL_Y, in START_TEST() 1195 EV_REL, REL_X, in START_TEST() 1196 EV_REL, REL_Y, in START_TEST() 1205 libevdev_uinput_write_event(uinput, EV_REL, REL_X, 1); in START_TEST() [all …]
|
D | litest-device-cyborg-rat-5.c | 46 EV_REL, REL_X, 47 EV_REL, REL_Y, 48 EV_REL, REL_WHEEL,
|
D | test-trackpoint.c | 318 litest_event(trackpoint, EV_REL, REL_X, 1); in START_TEST() 319 litest_event(trackpoint, EV_REL, REL_Y, 1); in START_TEST() 354 litest_event(trackpoint, EV_REL, REL_X, 1); in START_TEST() 355 litest_event(trackpoint, EV_REL, REL_Y, 1); in START_TEST() 388 litest_event(trackpoint, EV_REL, REL_X, 1); in START_TEST() 389 litest_event(trackpoint, EV_REL, REL_Y, 1); in START_TEST() 415 litest_event(trackpoint, EV_REL, REL_X, 1); in START_TEST() 416 litest_event(trackpoint, EV_REL, REL_Y, 1); in START_TEST()
|
D | test-misc.c | 102 EV_REL, REL_X, in START_TEST() 103 EV_REL, REL_Y, in START_TEST() 164 litest_event(dev, EV_REL, REL_X, -1); in START_TEST() 165 litest_event(dev, EV_REL, REL_Y, -1); in START_TEST() 167 litest_event(dev, EV_REL, REL_X, -1); in START_TEST() 168 litest_event(dev, EV_REL, REL_Y, -1); in START_TEST() 612 EV_REL, REL_X, in START_TEST() 613 EV_REL, REL_Y, in START_TEST() 630 libevdev_uinput_write_event(uinput, EV_REL, REL_X, 1); in START_TEST() 639 libevdev_uinput_write_event(uinput, EV_REL, REL_Y, 1); in START_TEST() [all …]
|
/third_party/ltp/testcases/kernel/input/ |
D | input01.c | 129 if (iev->type != EV_REL) { in verify_data() 132 nb, iev->type, EV_REL); in verify_data() 146 if (iev->type != EV_REL) { in verify_data() 149 nb, iev->type, EV_REL); in verify_data()
|
/third_party/libinput/doc/user/ |
D | incorrectly-enabled-hires.rst | 37 # Event type 2 (EV_REL) 48 - [ 0, 0, 2, 8, 1] # EV_REL / REL_WHEEL 1 51 - [ 0, 15126, 2, 8, 1] # EV_REL / REL_WHEEL 1 54 - [ 0, 30250, 2, 8, 1] # EV_REL / REL_WHEEL 1
|