Home
last modified time | relevance | path

Searched refs:litest_event (Results 1 – 23 of 23) sorted by relevance

/third_party/libinput/test/
Dtest-touchpad-buttons.c152 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
153 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
154 litest_event(dev, EV_KEY, BTN_LEFT, 0); in START_TEST()
155 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
176 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
177 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
178 litest_event(dev, EV_KEY, BTN_LEFT, 0); in START_TEST()
179 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
201 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
202 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
[all …]
Dlitest-device-protocol-a-touch-screen.c78 litest_event(d, EV_ABS, ABS_X, s->x); in protocolA_down()
79 litest_event(d, EV_ABS, ABS_Y, s->y); in protocolA_down()
83 litest_event(d, EV_ABS, ABS_MT_TRACKING_ID, s->tracking_id); in protocolA_down()
84 litest_event(d, EV_ABS, ABS_MT_POSITION_X, s->x); in protocolA_down()
85 litest_event(d, EV_ABS, ABS_MT_POSITION_Y, s->y); in protocolA_down()
86 litest_event(d, EV_SYN, SYN_MT_REPORT, 0); in protocolA_down()
90 litest_event(d, EV_KEY, BTN_TOUCH, 1); in protocolA_down()
91 litest_event(d, EV_SYN, SYN_REPORT, 0); in protocolA_down()
120 litest_event(d, EV_ABS, ABS_X, s->x); in protocolA_move()
121 litest_event(d, EV_ABS, ABS_X, s->y); in protocolA_move()
[all …]
Dtest-pointer.c52 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()
54 litest_event(dev, EV_SYN, SYN_REPORT, 0); 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()
120 litest_event(dev, EV_SYN, SYN_REPORT, 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()
152 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
159 litest_event(dev, EV_REL, REL_X, 1); in START_TEST()
[all …]
Dtest-touchpad.c1765 litest_event(dev, EV_ABS, ABS_MT_TOOL_TYPE, MT_TOOL_PALM); in START_TEST()
1766 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
1786 litest_event(dev, EV_ABS, ABS_MT_TOOL_TYPE, MT_TOOL_PALM); in START_TEST()
1787 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
1792 litest_event(dev, EV_ABS, ABS_MT_TOOL_TYPE, MT_TOOL_FINGER); in START_TEST()
1793 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
1814 litest_event(dev, EV_ABS, ABS_MT_TOOL_TYPE, MT_TOOL_PALM); in START_TEST()
1825 litest_event(dev, EV_ABS, ABS_MT_TOOL_TYPE, MT_TOOL_FINGER); in START_TEST()
1857 litest_event(dev, EV_ABS, ABS_MT_TOOL_TYPE, MT_TOOL_PALM); in START_TEST()
2742 litest_event(dev, EV_ABS, ABS_MT_SLOT, slot); in hover_continue()
[all …]
Dtest-tablet.c184 litest_event(dev, EV_KEY, code, 1); in START_TEST()
185 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
228 litest_event(dev, EV_KEY, BTN_TOUCH, 1); in START_TEST()
245 litest_event(dev, EV_KEY, BTN_TOUCH, 0); in START_TEST()
278 litest_event(dev, EV_KEY, BTN_TOUCH, 1); in START_TEST()
314 litest_event(dev, EV_KEY, BTN_TOUCH, 1); in START_TEST()
315 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
322 litest_event(dev, EV_KEY, BTN_TOUCH, 0); in START_TEST()
363 litest_event(dev, EV_KEY, BTN_TOUCH, 1); in START_TEST()
371 litest_event(dev, EV_KEY, BTN_STYLUS, 1); in START_TEST()
[all …]
Dtest-touchpad-tap.c1867 litest_event(dev, EV_KEY, BTN_TOOL_TRIPLETAP, 1); in START_TEST()
1868 litest_event(dev, EV_KEY, BTN_TOOL_DOUBLETAP, 0); in START_TEST()
1869 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
1880 litest_event(dev, EV_KEY, BTN_TOOL_TRIPLETAP, 0); in START_TEST()
1881 litest_event(dev, EV_KEY, BTN_TOOL_DOUBLETAP, 1); in START_TEST()
1882 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
1905 litest_event(dev, EV_KEY, BTN_TOOL_TRIPLETAP, 1); in START_TEST()
1906 litest_event(dev, EV_KEY, BTN_TOOL_DOUBLETAP, 0); in START_TEST()
1907 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
1914 litest_event(dev, EV_KEY, BTN_TOOL_TRIPLETAP, 0); in START_TEST()
[all …]
Dlitest-device-qemu-usb-tablet.c35 litest_event(d, EV_ABS, ABS_X, litest_scale(d, ABS_X, x)); in touch_down()
36 litest_event(d, EV_ABS, ABS_Y, litest_scale(d, ABS_Y, y)); in touch_down()
37 litest_event(d, EV_SYN, SYN_REPORT, 0); in touch_down()
47 litest_event(d, EV_ABS, ABS_X, litest_scale(d, ABS_X, x)); in touch_move()
48 litest_event(d, EV_ABS, ABS_Y, litest_scale(d, ABS_Y, y)); in touch_move()
49 litest_event(d, EV_SYN, SYN_REPORT, 0); in touch_move()
58 litest_event(d, EV_SYN, SYN_REPORT, 0); in touch_up()
Dlitest-device-xen-virtual-pointer.c35 litest_event(d, EV_ABS, ABS_X, litest_scale(d, ABS_X, x)); in touch_down()
36 litest_event(d, EV_ABS, ABS_Y, litest_scale(d, ABS_Y, y)); in touch_down()
37 litest_event(d, EV_SYN, SYN_REPORT, 0); in touch_down()
47 litest_event(d, EV_ABS, ABS_X, litest_scale(d, ABS_X, x)); in touch_move()
48 litest_event(d, EV_ABS, ABS_Y, litest_scale(d, ABS_Y, y)); in touch_move()
49 litest_event(d, EV_SYN, SYN_REPORT, 0); in touch_move()
58 litest_event(d, EV_SYN, SYN_REPORT, 0); in touch_up()
Dlitest-device-vmware-virtual-usb-mouse.c35 litest_event(d, EV_ABS, ABS_X, litest_scale(d, ABS_X, x)); in touch_down()
36 litest_event(d, EV_ABS, ABS_Y, litest_scale(d, ABS_Y, y)); in touch_down()
37 litest_event(d, EV_SYN, SYN_REPORT, 0); in touch_down()
47 litest_event(d, EV_ABS, ABS_X, litest_scale(d, ABS_X, x)); in touch_move()
48 litest_event(d, EV_ABS, ABS_Y, litest_scale(d, ABS_Y, y)); in touch_move()
49 litest_event(d, EV_SYN, SYN_REPORT, 0); in touch_move()
58 litest_event(d, EV_SYN, SYN_REPORT, 0); in touch_up()
Dtest-switch.c572 litest_event(keyboard, EV_KEY, KEY_A, 1); in START_TEST()
573 litest_event(keyboard, EV_SYN, SYN_REPORT, 0); in START_TEST()
574 litest_event(keyboard, EV_KEY, KEY_A, 0); in START_TEST()
575 litest_event(keyboard, EV_SYN, SYN_REPORT, 0); in START_TEST()
618 litest_event(keyboard, EV_KEY, KEY_A, 1); in START_TEST()
619 litest_event(keyboard, EV_SYN, SYN_REPORT, 0); in START_TEST()
620 litest_event(keyboard, EV_KEY, KEY_A, 0); in START_TEST()
621 litest_event(keyboard, EV_SYN, SYN_REPORT, 0); in START_TEST()
749 litest_event(keyboard, EV_KEY, KEY_A, 1); in START_TEST()
750 litest_event(keyboard, EV_SYN, SYN_REPORT, 0); in START_TEST()
[all …]
Dtest-misc.c164 litest_event(dev, EV_REL, REL_X, -1); in START_TEST()
165 litest_event(dev, EV_REL, REL_Y, -1); in START_TEST()
166 litest_event(dev, EV_SYN, SYN_REPORT, 0); 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()
169 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
170 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
216 litest_event(dev, EV_ABS, ABS_X, 10); in START_TEST()
217 litest_event(dev, EV_ABS, ABS_Y, 50); in START_TEST()
218 litest_event(dev, EV_KEY, BTN_LEFT, 1); in START_TEST()
[all …]
Dtest-keyboard.c210 litest_event(dev, EV_KEY, key, 1); in START_TEST()
211 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
379 litest_event(dev, EV_KEY, KEY_LEFTSHIFT, 1); in START_TEST()
380 litest_event(dev, EV_KEY, KEY_A, 1); in START_TEST()
381 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
389 litest_event(dev, EV_KEY, KEY_LEFTSHIFT, 0); in START_TEST()
390 litest_event(dev, EV_KEY, KEY_A, 0); in START_TEST()
391 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
399 litest_event(dev, EV_KEY, KEY_A, 1); in START_TEST()
400 litest_event(dev, EV_KEY, KEY_LEFTSHIFT, 1); in START_TEST()
[all …]
Dtest-trackpoint.c318 litest_event(trackpoint, EV_REL, REL_X, 1); in START_TEST()
319 litest_event(trackpoint, EV_REL, REL_Y, 1); in START_TEST()
320 litest_event(trackpoint, EV_SYN, SYN_REPORT, 0); 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()
356 litest_event(trackpoint, EV_SYN, SYN_REPORT, 0); 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()
390 litest_event(trackpoint, EV_SYN, SYN_REPORT, 0); in START_TEST()
415 litest_event(trackpoint, EV_REL, REL_X, 1); in START_TEST()
[all …]
Dlitest-device-elan-tablet.c66 litest_event(d, EV_ABS, ABS_X, x); in proximity_in()
67 litest_event(d, EV_ABS, ABS_X, y); in proximity_in()
68 litest_event(d, EV_KEY, BTN_TOOL_PEN, 1); in proximity_in()
69 litest_event(d, EV_SYN, SYN_REPORT, 0); in proximity_in()
83 litest_event(d, EV_KEY, BTN_TOOL_PEN, 0); in proximity_out()
Dtest-trackball.c144 litest_event(dev, EV_REL, REL_X, 1); in START_TEST()
145 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
194 litest_event(dev, EV_REL, REL_Y, 1); in START_TEST()
195 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
245 litest_event(dev, EV_REL, REL_Y, 1); in START_TEST()
246 litest_event(dev, EV_REL, REL_X, 1); in START_TEST()
247 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
Dtest-touch.c917 litest_event(dev, EV_ABS, ABS_MT_TRACKING_ID, 30); in START_TEST()
918 litest_event(dev, EV_ABS, ABS_MT_SLOT, 0); in START_TEST()
919 litest_event(dev, EV_ABS, ABS_MT_POSITION_X, x); in START_TEST()
920 litest_event(dev, EV_ABS, ABS_MT_POSITION_Y, y); in START_TEST()
921 litest_event(dev, EV_KEY, BTN_TOUCH, 1); in START_TEST()
922 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
942 litest_event(dev, EV_ABS, ABS_MT_POSITION_X, x); in START_TEST()
943 litest_event(dev, EV_ABS, ABS_MT_POSITION_Y, y); in START_TEST()
944 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
1021 litest_event(dev, EV_ABS, ABS_MT_SLOT, 0); in START_TEST()
[all …]
Dtest-device.c151 litest_event(dev, EV_REL, REL_X, 10); in START_TEST()
152 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
168 litest_event(dev, EV_REL, REL_X, 10); in START_TEST()
169 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
349 litest_event(dev, EV_REL, REL_X, 10); in START_TEST()
350 litest_event(dev, EV_SYN, SYN_REPORT, 0); 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()
447 litest_event(litest_device, EV_SYN, SYN_REPORT, 0); in START_TEST()
1348 litest_event(dev, EV_REL, REL_HWHEEL, 1); in START_TEST()
[all …]
Dlitest.c1953 litest_event(struct litest_device *d, unsigned int type, in litest_event() function
2055 litest_event(d, EV_KEY, BTN_TOUCH, d->ntouches_down != 0 && !hover); in send_btntool()
2056 litest_event(d, EV_KEY, BTN_TOOL_FINGER, d->ntouches_down == 1); in send_btntool()
2057 litest_event(d, EV_KEY, BTN_TOOL_DOUBLETAP, d->ntouches_down == 2); in send_btntool()
2058 litest_event(d, EV_KEY, BTN_TOOL_TRIPLETAP, d->ntouches_down == 3); in send_btntool()
2059 litest_event(d, EV_KEY, BTN_TOOL_QUADTAP, d->ntouches_down == 4); in send_btntool()
2060 litest_event(d, EV_KEY, BTN_TOOL_QUINTTAP, d->ntouches_down == 5); in send_btntool()
2102 litest_event(d, ev->type, ev->code, value); in slot_start()
2138 litest_event(d, ev->type, ev->code, value); in slot_move()
2179 litest_event(d, ev->type, ev->code, value); in touch_up()
[all …]
Dtest-log.c187 litest_event(dev, EV_ABS, in START_TEST()
190 litest_event(dev, EV_ABS, axis, abs->maximum * 2); in START_TEST()
191 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
Dtest-gestures.c988 litest_event(dev, EV_KEY, BTN_TOOL_DOUBLETAP, 0); in START_TEST()
989 litest_event(dev, EV_KEY, BTN_TOOL_TRIPLETAP, 1); in START_TEST()
990 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
1077 litest_event(dev, EV_KEY, BTN_TOOL_DOUBLETAP, 0); in START_TEST()
1078 litest_event(dev, EV_KEY, BTN_TOOL_TRIPLETAP, 1); in START_TEST()
1079 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
1148 litest_event(dev, EV_KEY, BTN_TOOL_DOUBLETAP, 0); in START_TEST()
1149 litest_event(dev, EV_KEY, BTN_TOOL_QUADTAP, 1); in START_TEST()
1150 litest_event(dev, EV_SYN, SYN_REPORT, 0); in START_TEST()
1299 litest_event(dev, EV_KEY, BTN_TOOL_DOUBLETAP, 0); in START_TEST()
[all …]
Dlitest-device-alps-3fg.c62 litest_event(d, EV_SYN, SYN_REPORT, 0); in touch_down()
94 litest_event(d, EV_SYN, SYN_REPORT, 0); in touch_up()
Dtest-pad.c932 litest_event(dev, EV_ABS, ABS_MISC, 15); in pad_key_down()
933 litest_event(dev, EV_KEY, which, 1); in pad_key_down()
934 litest_event(dev, EV_SYN, SYN_REPORT, 0); in pad_key_down()
940 litest_event(dev, EV_ABS, ABS_MISC, 0); in pad_key_up()
941 litest_event(dev, EV_KEY, which, 0); in pad_key_up()
942 litest_event(dev, EV_SYN, SYN_REPORT, 0); in pad_key_up()
Dlitest.h543 litest_event(struct litest_device *t,