/third_party/libinput/test/ |
D | litest.h | 52 struct litest_device *d = litest_create_device(_device.type); \ 365 struct litest_device { struct 483 struct litest_device * 486 struct litest_device * 494 struct litest_device * 501 struct litest_device * 507 struct litest_device * 515 struct litest_device * 519 litest_grab_device(struct litest_device *d); 522 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-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 | litest-int.h | 51 bool (*create)(struct litest_device *d); 84 bool (*touch_down)(struct litest_device *d, unsigned int slot, double x, double y); 85 bool (*touch_move)(struct litest_device *d, unsigned int slot, double x, double y); 86 bool (*touch_up)(struct litest_device *d, unsigned int slot); 92 int (*get_axis_default)(struct litest_device *d, unsigned int code, int32_t *value); 144 void litest_set_current_device(struct litest_device *device); 145 int litest_scale(const struct litest_device *d, unsigned int axis, double val);
|
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() 91 struct litest_device *dev = litest_current_device(); in START_TEST() 119 test_2fg_scroll(struct litest_device *dev, double dx, double dy, bool want_sleep) in test_2fg_scroll() 143 struct litest_device *dev = litest_current_device(); in START_TEST() 169 struct litest_device *dev = litest_current_device(); in START_TEST() 234 is_single_axis_2fg_scroll(struct litest_device *dev, in is_single_axis_2fg_scroll() 275 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() 104 struct litest_device *dev = litest_current_device(); in START_TEST() 137 struct litest_device *dev = litest_current_device(); in START_TEST() 160 struct litest_device *touchpad = litest_current_device(); in START_TEST() 161 struct litest_device *trackpoint; in START_TEST() 203 struct litest_device *touchpad = litest_current_device(); in START_TEST() 204 struct litest_device *trackpoint; in START_TEST() 244 struct litest_device *touchpad = litest_current_device(); in START_TEST() 245 struct litest_device *trackpoint; 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() 121 struct litest_device *dev = litest_current_device(); in START_TEST() 170 struct litest_device *dev = litest_current_device(); in START_TEST() 237 struct litest_device *dev = litest_current_device(); in START_TEST() 312 struct litest_device *dev = litest_current_device(); in START_TEST() 373 struct litest_device *dev = litest_current_device(); in START_TEST() 421 struct litest_device *dev = litest_current_device(); in START_TEST() 493 struct litest_device *dev = litest_current_device(); in START_TEST() 542 struct litest_device *dev = litest_current_device(); 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-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-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-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-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-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-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 | litest.c | 259 static struct litest_device *current_device; 261 struct litest_device *litest_current_device(void) in litest_current_device() 267 grab_device(struct litest_device *device, bool mode) in grab_device() 298 litest_grab_device(struct litest_device *device) in litest_grab_device() 304 litest_ungrab_device(struct litest_device *device) in litest_ungrab_device() 309 void litest_set_current_device(struct litest_device *device) in litest_set_current_device() 1619 struct litest_device * 1626 struct litest_device *d = NULL; in litest_create() 1767 struct litest_device * 1776 struct litest_device *d; in litest_add_device_with_overrides() [all …]
|
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-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-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-gestures.c | 38 struct litest_device *dev = litest_current_device(); in START_TEST() 52 struct litest_device *dev = litest_current_device(); in START_TEST() 62 struct litest_device *dev = litest_current_device(); in START_TEST() 161 struct litest_device *dev = litest_current_device(); in START_TEST() 264 struct litest_device *dev = litest_current_device(); in START_TEST() 314 struct litest_device *dev = litest_current_device(); in START_TEST() 441 struct litest_device *dev = litest_current_device(); in START_TEST() 544 struct litest_device *dev = litest_current_device(); in START_TEST() 656 struct litest_device *dev = litest_current_device(); in START_TEST() 761 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 | 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() 1211 struct litest_device *dev = litest_current_device(); in START_TEST() 1244 struct litest_device *dev = litest_current_device(); in START_TEST() 1277 struct litest_device *dev = litest_current_device(); in START_TEST() 1310 struct litest_device *dev = litest_current_device(); in START_TEST() [all …]
|
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() 409 struct litest_device *dev = litest_current_device(); in START_TEST() 457 struct litest_device *dev = litest_current_device(); in START_TEST() 501 struct litest_device *dev = litest_current_device(); in START_TEST() 669 struct litest_device *dev = litest_current_device(); in START_TEST() 710 struct litest_device *dev = litest_current_device(); in START_TEST() [all …]
|
D | litest-device-keyboard-all-codes.c | 31 static bool all_codes_create(struct litest_device *d); 52 all_codes_create(struct litest_device *d) in all_codes_create()
|