/third_party/libinput/test/ |
D | litest.h | 53 struct litest_device *d = litest_create_device(_device.type); \ 380 struct litest_device { struct 498 struct litest_device * 501 struct litest_device * 509 struct litest_device * 516 struct litest_device * 522 struct litest_device * 530 struct litest_device * 534 litest_grab_device(struct litest_device *d); 537 litest_ungrab_device(struct litest_device *d); [all …]
|
D | test-switch.c | 34 switch_has_lid(struct litest_device *dev) in switch_has_lid() 41 switch_has_tablet_mode(struct litest_device *dev) in switch_has_tablet_mode() 49 struct litest_device *dev = litest_current_device(); in START_TEST() 67 struct litest_device *dev = litest_current_device(); in START_TEST() 79 tablet_mode_switch_is_reliable(struct litest_device *dev) in tablet_mode_switch_is_reliable() 92 struct litest_device *dev = litest_current_device(); in START_TEST() 110 struct litest_device *dev = litest_current_device(); in START_TEST() 145 struct litest_device *dev = litest_current_device(); in START_TEST() 174 lid_switch_is_reliable(struct litest_device *dev) in lid_switch_is_reliable() 191 struct litest_device *dev = litest_current_device(); in START_TEST() [all …]
|
D | test-touchpad.c | 36 has_disable_while_typing(struct litest_device *device) in has_disable_while_typing() 41 static inline struct litest_device * 43 struct litest_device *touchpad) in dwt_init_paired_keyboard() 58 struct litest_device *dev = litest_current_device(); in START_TEST() 89 struct litest_device *dev = litest_current_device(); in START_TEST() 117 test_2fg_scroll(struct litest_device *dev, double dx, double dy, bool want_sleep) in test_2fg_scroll() 141 struct litest_device *dev = litest_current_device(); in START_TEST() 180 struct litest_device *dev = litest_current_device(); in START_TEST() 250 is_single_axis_2fg_scroll(struct litest_device *dev, in is_single_axis_2fg_scroll() 303 struct litest_device *dev = litest_current_device(); in START_TEST() [all …]
|
D | litest-int.h | 54 bool (*create)(struct litest_device *d); 87 bool (*touch_down)(struct litest_device *d, unsigned int slot, double x, double y); 88 bool (*touch_move)(struct litest_device *d, unsigned int slot, double x, double y); 89 bool (*touch_up)(struct litest_device *d, unsigned int slot); 95 int (*get_axis_default)(struct litest_device *d, unsigned int code, int32_t *value); 117 bool (*tablet_proximity_in)(struct litest_device *d, 121 bool (*tablet_proximity_out)(struct litest_device *d, unsigned int tool_type); 156 void litest_set_current_device(struct litest_device *device); 157 int litest_scale(const struct litest_device *d, unsigned int axis, double val);
|
D | test-device.c | 38 struct litest_device *dev = litest_current_device(); in START_TEST() 52 struct litest_device *dev = litest_current_device(); in START_TEST() 66 struct litest_device *dev = litest_current_device(); in START_TEST() 87 struct litest_device *dev = litest_current_device(); in START_TEST() 114 struct litest_device *dev = litest_current_device(); in START_TEST() 132 struct litest_device *dev = litest_current_device(); in START_TEST() 137 struct litest_device *tmp; in START_TEST() 184 struct litest_device *dev = litest_current_device(); in START_TEST() 224 struct litest_device *dev = litest_current_device(); in START_TEST() 256 struct litest_device *dev = litest_current_device(); in START_TEST() [all …]
|
D | test-trackpoint.c | 37 struct litest_device *dev = litest_current_device(); in START_TEST() 74 struct litest_device *dev = litest_current_device(); in START_TEST() 116 struct litest_device *dev = litest_current_device(); in START_TEST() 149 struct litest_device *dev = litest_current_device(); in START_TEST() 172 struct litest_device *touchpad = litest_current_device(); in START_TEST() 173 struct litest_device *trackpoint; in START_TEST() 217 struct litest_device *touchpad = litest_current_device(); in START_TEST() 218 struct litest_device *trackpoint; in START_TEST() 260 struct litest_device *touchpad = litest_current_device(); in START_TEST() 261 struct litest_device *trackpoint; in START_TEST() [all …]
|
D | test-pad.c | 42 struct litest_device *dev = litest_current_device(); in START_TEST() 53 struct litest_device *dev = litest_current_device(); in START_TEST() 63 struct litest_device *dev = litest_current_device(); in START_TEST() 129 struct litest_device *dev = litest_current_device(); in START_TEST() 157 struct litest_device *dev = litest_current_device(); in START_TEST() 180 struct litest_device *dev = litest_current_device(); in START_TEST() 240 struct litest_device *dev = litest_current_device(); in START_TEST() 290 struct litest_device *dev = litest_current_device(); in START_TEST() 331 struct litest_device *dev = litest_current_device(); in START_TEST() 394 struct litest_device *dev = litest_current_device(); in START_TEST() [all …]
|
D | test-touch.c | 38 struct litest_device *dev = litest_current_device(); in START_TEST() 69 struct litest_device *dev = litest_current_device(); in START_TEST() 88 struct litest_device *dev; in START_TEST() 161 struct litest_device *dev1 = litest_current_device(); in START_TEST() 162 struct litest_device *dev2; in START_TEST() 208 struct litest_device *dev; in START_TEST() 266 struct litest_device *dev; in START_TEST() 311 struct litest_device *dev; in START_TEST() 356 struct litest_device *dev; in START_TEST() 443 struct litest_device *dev; in START_TEST() [all …]
|
D | test-touchpad-buttons.c | 37 struct litest_device *dev = litest_current_device(); in START_TEST() 60 struct litest_device *dev = litest_current_device(); in START_TEST() 87 struct litest_device *dev = litest_current_device(); in START_TEST() 114 struct litest_device *dev = litest_current_device(); in START_TEST() 144 struct litest_device *dev = litest_current_device(); in START_TEST() 169 struct litest_device *dev = litest_current_device(); in START_TEST() 192 struct litest_device *dev = litest_current_device(); in START_TEST() 219 struct litest_device *dev = litest_current_device(); in START_TEST() 253 struct litest_device *dev = litest_current_device(); in START_TEST() 292 struct litest_device *dev = litest_current_device(); in START_TEST() [all …]
|
D | test-pointer.c | 38 test_relative_event(struct litest_device *dev, double dx, double dy) in test_relative_event() 99 disable_button_scrolling(struct litest_device *device) in disable_button_scrolling() 114 struct litest_device *dev = litest_current_device(); in START_TEST() 139 struct litest_device *dev = litest_current_device(); in START_TEST() 180 struct litest_device *dev = litest_current_device(); in START_TEST() 227 test_absolute_event(struct litest_device *dev, double x, double y) in test_absolute_event() 255 struct litest_device *dev = litest_current_device(); in START_TEST() 267 struct litest_device *dev = litest_current_device(); in START_TEST() 320 test_unaccel_event(struct litest_device *dev, int dx, int dy) in test_unaccel_event() 349 struct litest_device *dev = litest_current_device(); in START_TEST() [all …]
|
D | test-totem.c | 40 struct litest_device *dev = litest_current_device(); in START_TEST() 64 struct litest_device *dev = litest_current_device(); in START_TEST() 90 struct litest_device *dev = litest_current_device(); in START_TEST() 136 struct litest_device *dev = litest_current_device(); in START_TEST() 202 struct litest_device *dev = litest_current_device(); in START_TEST() 240 struct litest_device *dev = litest_current_device(); in START_TEST() 277 struct litest_device *dev = litest_current_device(); in START_TEST() 341 struct litest_device *dev = litest_current_device(); in START_TEST() 369 struct litest_device *dev = litest_current_device(); in START_TEST() 404 struct litest_device *dev = litest_current_device(); in START_TEST() [all …]
|
D | test-tablet.c | 40 pick_stylus_or_btn0(struct litest_device *dev) in pick_stylus_or_btn0() 53 struct litest_device *dev = litest_current_device(); in START_TEST() 95 struct litest_device *dev = litest_current_device(); in START_TEST() 99 struct litest_device *dev2; in START_TEST() 172 struct litest_device *dev = litest_add_device(li, LITEST_WACOM_INTUOS); in START_TEST() 211 struct litest_device *dev = litest_current_device(); in START_TEST() 263 struct litest_device *dev = litest_current_device(); in START_TEST() 303 struct litest_device *dev = litest_current_device(); in START_TEST() 350 struct litest_device *dev = litest_current_device(); in START_TEST() 436 struct litest_device *dev = litest_current_device(); in START_TEST() [all …]
|
D | test-touchpad-tap.c | 37 struct litest_device *dev = litest_current_device(); in START_TEST() 61 struct litest_device *dev = litest_current_device(); in START_TEST() 201 struct litest_device *dev = litest_current_device(); in START_TEST() 291 struct litest_device *dev = litest_current_device(); in START_TEST() 400 struct litest_device *dev = litest_current_device(); in START_TEST() 517 struct litest_device *dev = litest_current_device(); in START_TEST() 619 struct litest_device *dev = litest_current_device(); in START_TEST() 708 struct litest_device *dev = litest_current_device(); in START_TEST() 823 struct litest_device *dev = litest_current_device(); in START_TEST() 915 struct litest_device *dev = litest_current_device(); in START_TEST() [all …]
|
D | test-trackball.c | 37 struct litest_device *dev = litest_current_device(); in START_TEST() 52 struct litest_device *dev = litest_current_device(); in START_TEST() 67 struct litest_device *dev = litest_current_device(); in START_TEST() 95 struct litest_device *dev = litest_current_device(); in START_TEST() 112 struct litest_device *dev = litest_current_device(); in START_TEST() 131 struct litest_device *dev = litest_current_device(); in START_TEST() 181 struct litest_device *dev = litest_current_device(); in START_TEST() 231 struct litest_device *dev = litest_current_device(); in START_TEST()
|
D | test-gestures.c | 45 struct litest_device *dev = litest_current_device(); in test_gesture_swipe_3fg() 156 struct litest_device *dev = litest_current_device(); in test_gesture_swipe_4fg() 294 struct litest_device *dev = litest_current_device(); in test_gesture_pinch_2fg() 417 struct litest_device *dev = litest_current_device(); in test_gesture_pinch_3fg() 532 struct litest_device *dev = litest_current_device(); in test_gesture_pinch_4fg() 654 struct litest_device *dev = litest_current_device(); in test_gesture_spread() 775 struct litest_device *dev = litest_current_device(); in test_gesture_3fg_buttonarea_scroll() 818 struct litest_device *dev = litest_current_device(); in test_gesture_hold() 882 struct litest_device *dev = litest_current_device(); in test_gesture_hold_cancel() 926 struct litest_device *dev = litest_current_device(); in START_TEST() [all …]
|
D | litest.c | 261 static struct litest_device *current_device; 263 struct litest_device *litest_current_device(void) in litest_current_device() 269 grab_device(struct litest_device *device, bool mode) in grab_device() 300 litest_grab_device(struct litest_device *device) in litest_grab_device() 306 litest_ungrab_device(struct litest_device *device) in litest_ungrab_device() 311 void litest_set_current_device(struct litest_device *device) in litest_set_current_device() 1617 struct litest_device * 1624 struct litest_device *d = NULL; in litest_create() 1766 struct litest_device * 1775 struct litest_device *d; in litest_add_device_with_overrides() [all …]
|
D | test-keyboard.c | 34 struct litest_device *devices[4]; in START_TEST() 105 struct litest_device *dev; in START_TEST() 168 struct litest_device *dev; in START_TEST() 267 struct litest_device *dev = litest_current_device(); in START_TEST() 286 struct litest_device *dev = litest_current_device(); in START_TEST() 304 struct litest_device *dev = litest_current_device(); in START_TEST() 334 struct litest_device *dev = litest_current_device(); in START_TEST() 370 struct litest_device *dev = litest_current_device(); in START_TEST() 425 struct litest_device *dev = litest_current_device(); in START_TEST() 454 struct litest_device *dev = litest_current_device(); in START_TEST()
|
D | test-quirks.c | 911 test_attr_parse(struct litest_device *dev, in test_attr_parse() 963 struct litest_device *dev = litest_current_device(); in START_TEST() 1009 struct litest_device *dev = litest_current_device(); in START_TEST() 1063 struct litest_device *dev = litest_current_device(); in START_TEST() 1111 struct litest_device *dev = litest_current_device(); in START_TEST() 1164 struct litest_device *dev = litest_current_device(); in START_TEST() 1217 struct litest_device *dev = litest_current_device(); in START_TEST() 1254 struct litest_device *dev = litest_current_device(); in START_TEST() 1287 struct litest_device *dev = litest_current_device(); in START_TEST() 1320 struct litest_device *dev = litest_current_device(); in START_TEST() [all …]
|
D | litest-device-alps-3fg.c | 39 alps_create(struct litest_device *d) in alps_create() 46 touch_down(struct litest_device *d, unsigned int slot, double x, double y) in touch_down() 70 touch_move(struct litest_device *d, unsigned int slot, double x, double y) in touch_move() 83 touch_up(struct litest_device *d, unsigned int slot) in touch_up()
|
D | litest-device-qemu-usb-tablet.c | 31 touch_down(struct litest_device *d, unsigned int slot, double x, double y) in touch_down() 43 touch_move(struct litest_device *d, unsigned int slot, double x, double y) in touch_move() 55 touch_up(struct litest_device *d, unsigned int slot) in touch_up()
|
D | litest-device-xen-virtual-pointer.c | 31 touch_down(struct litest_device *d, unsigned int slot, double x, double y) in touch_down() 43 touch_move(struct litest_device *d, unsigned int slot, double x, double y) in touch_move() 55 touch_up(struct litest_device *d, unsigned int slot) in touch_up()
|
D | litest-device-vmware-virtual-usb-mouse.c | 31 touch_down(struct litest_device *d, unsigned int slot, double x, double y) in touch_down() 43 touch_move(struct litest_device *d, unsigned int slot, double x, double y) in touch_move() 55 touch_up(struct litest_device *d, unsigned int slot) in touch_up()
|
D | test-misc.c | 157 struct litest_device *dev = litest_current_device(); in START_TEST() 211 struct litest_device *dev = litest_current_device(); in START_TEST() 263 struct litest_device *dev = litest_current_device(); in START_TEST() 307 struct litest_device *dev = litest_current_device(); in START_TEST() 359 struct litest_device *dev = litest_current_device(); in START_TEST() 412 struct litest_device *dev = litest_current_device(); in START_TEST() 460 struct litest_device *dev = litest_current_device(); in START_TEST() 504 struct litest_device *dev = litest_current_device(); in START_TEST() 673 struct litest_device *dev = litest_current_device(); in START_TEST() 711 struct litest_device *dev = litest_current_device(); in START_TEST() [all …]
|
D | litest-device-protocol-a-touch-screen.c | 41 protocolA_create(struct litest_device *d) in protocolA_create() 53 protocolA_down(struct litest_device *d, unsigned int slot, double x, double y) in protocolA_down() 98 protocolA_move(struct litest_device *d, unsigned int slot, double x, double y) in protocolA_move() 138 protocolA_up(struct litest_device *d, unsigned int slot) in protocolA_up()
|
D | litest-device-elan-tablet.c | 53 proximity_in(struct litest_device *d, in proximity_in() 77 proximity_out(struct litest_device *d, unsigned int tool_type) in proximity_out() 89 get_axis_default(struct litest_device *d, unsigned int evcode, int32_t *value) in get_axis_default()
|