/third_party/libinput/test/ |
D | test-trackball.c | 264 litest_add("trackball:rotation", trackball_rotation_config_defaults, LITEST_TRACKBALL, LITEST_ANY); in TEST_COLLECTION() 265 …litest_add("trackball:rotation", trackball_rotation_config_invalid_range, LITEST_TRACKBALL, LITEST… in TEST_COLLECTION() 266 …litest_add("trackball:rotation", trackball_rotation_config_no_rotation, LITEST_ANY, LITEST_TRACKBA… in TEST_COLLECTION() 267 …litest_add("trackball:rotation", trackball_rotation_config_right_angle, LITEST_TRACKBALL, LITEST_A… in TEST_COLLECTION() 268 …litest_add("trackball:rotation", trackball_rotation_config_odd_angle, LITEST_TRACKBALL, LITEST_ANY… in TEST_COLLECTION() 269 litest_add("trackball:rotation", trackball_rotation_x, LITEST_TRACKBALL, LITEST_ANY); in TEST_COLLECTION() 270 litest_add("trackball:rotation", trackball_rotation_y, LITEST_TRACKBALL, LITEST_ANY); in TEST_COLLECTION() 271 litest_add("trackball:rotation", trackball_rotation_accel, LITEST_TRACKBALL, LITEST_ANY); in TEST_COLLECTION()
|
D | test-device.c | 1616 …litest_add("device:sendevents", device_sendevents_config, LITEST_ANY, LITEST_TOUCHPAD|LITEST_TABLE… in TEST_COLLECTION() 1617 litest_add("device:sendevents", device_sendevents_config_invalid, LITEST_ANY, LITEST_TABLET); in TEST_COLLECTION() 1618 litest_add("device:sendevents", device_sendevents_config_touchpad, LITEST_TOUCHPAD, LITEST_TABLET); in TEST_COLLECTION() 1619 …litest_add("device:sendevents", device_sendevents_config_touchpad_superset, LITEST_TOUCHPAD, LITES… in TEST_COLLECTION() 1620 litest_add("device:sendevents", device_sendevents_config_default, LITEST_ANY, LITEST_TABLET); in TEST_COLLECTION() 1621 litest_add("device:sendevents", device_disable, LITEST_RELATIVE, LITEST_TABLET); in TEST_COLLECTION() 1622 litest_add("device:sendevents", device_disable_tablet, LITEST_TABLET, LITEST_ANY); in TEST_COLLECTION() 1623 litest_add("device:sendevents", device_disable_touchpad, LITEST_TOUCHPAD, LITEST_TABLET); in TEST_COLLECTION() 1624 litest_add("device:sendevents", device_disable_touch, LITEST_TOUCH, LITEST_ANY); in TEST_COLLECTION() 1625 litest_add("device:sendevents", device_disable_touch_during_touch, LITEST_TOUCH, LITEST_ANY); in TEST_COLLECTION() [all …]
|
D | test-pad.c | 987 litest_add("pad:cap", pad_cap, LITEST_TABLET_PAD, LITEST_ANY); in TEST_COLLECTION() 988 litest_add("pad:cap", pad_no_cap, LITEST_ANY, LITEST_TABLET_PAD); in TEST_COLLECTION() 990 litest_add("pad:time", pad_time, LITEST_TABLET_PAD, LITEST_ANY); in TEST_COLLECTION() 992 litest_add("pad:button", pad_num_buttons, LITEST_TABLET_PAD, LITEST_ANY); in TEST_COLLECTION() 993 litest_add("pad:button", pad_num_buttons_libwacom, LITEST_TABLET_PAD, LITEST_ANY); in TEST_COLLECTION() 994 litest_add("pad:button", pad_button_intuos, LITEST_TABLET_PAD, LITEST_ANY); in TEST_COLLECTION() 995 litest_add("pad:button", pad_button_bamboo, LITEST_TABLET_PAD, LITEST_ANY); in TEST_COLLECTION() 996 litest_add("pad:button", pad_button_libwacom, LITEST_TABLET_PAD, LITEST_ANY); in TEST_COLLECTION() 997 litest_add("pad:button", pad_button_mode_groups, LITEST_TABLET_PAD, LITEST_ANY); in TEST_COLLECTION() 999 litest_add("pad:ring", pad_has_ring, LITEST_RING, LITEST_ANY); in TEST_COLLECTION() [all …]
|
D | test-touch.c | 1345 litest_add("touch:frame", touch_frame_events, LITEST_TOUCH, LITEST_ANY); in TEST_COLLECTION() 1346 litest_add("touch:down", touch_downup_no_motion, LITEST_TOUCH, LITEST_ANY); in TEST_COLLECTION() 1347 litest_add("touch:down", touch_downup_no_motion, LITEST_SINGLE_TOUCH, LITEST_TOUCHPAD); in TEST_COLLECTION() 1349 litest_add("touch:slots", touch_seat_slot, LITEST_TOUCH, LITEST_TOUCHPAD); in TEST_COLLECTION() 1351 …litest_add("touch:double-touch-down-up", touch_double_touch_down_up, LITEST_TOUCH, LITEST_PROTOCOL… in TEST_COLLECTION() 1352 litest_add("touch:calibration", touch_calibration_scale, LITEST_TOUCH, LITEST_TOUCHPAD); in TEST_COLLECTION() 1353 litest_add("touch:calibration", touch_calibration_scale, LITEST_SINGLE_TOUCH, LITEST_TOUCHPAD); in TEST_COLLECTION() 1354 litest_add("touch:calibration", touch_calibration_rotation, LITEST_TOUCH, LITEST_TOUCHPAD); in TEST_COLLECTION() 1355 litest_add("touch:calibration", touch_calibration_rotation, LITEST_SINGLE_TOUCH, LITEST_TOUCHPAD); in TEST_COLLECTION() 1356 litest_add("touch:calibration", touch_calibration_translation, LITEST_TOUCH, LITEST_TOUCHPAD); in TEST_COLLECTION() [all …]
|
D | test-touchpad-buttons.c | 2099 litest_add("touchpad:button", touchpad_button, LITEST_TOUCHPAD, LITEST_CLICKPAD); in TEST_COLLECTION() 2101 litest_add("touchpad:clickfinger", touchpad_1fg_clickfinger, LITEST_CLICKPAD, LITEST_ANY); in TEST_COLLECTION() 2102 litest_add("touchpad:clickfinger", touchpad_1fg_clickfinger_no_touch, LITEST_CLICKPAD, LITEST_ANY); in TEST_COLLECTION() 2103 litest_add("touchpad:clickfinger", touchpad_2fg_clickfinger, LITEST_CLICKPAD, LITEST_ANY); in TEST_COLLECTION() 2104 litest_add("touchpad:clickfinger", touchpad_3fg_clickfinger, LITEST_CLICKPAD, LITEST_ANY); in TEST_COLLECTION() 2105 litest_add("touchpad:clickfinger", touchpad_3fg_clickfinger_btntool, LITEST_CLICKPAD, LITEST_ANY); in TEST_COLLECTION() 2106 litest_add("touchpad:clickfinger", touchpad_4fg_clickfinger, LITEST_CLICKPAD, LITEST_ANY); in TEST_COLLECTION() 2107 …litest_add("touchpad:clickfinger", touchpad_4fg_clickfinger_btntool_2slots, LITEST_CLICKPAD, LITES… in TEST_COLLECTION() 2108 …litest_add("touchpad:clickfinger", touchpad_4fg_clickfinger_btntool_3slots, LITEST_CLICKPAD, LITES… in TEST_COLLECTION() 2109 litest_add("touchpad:clickfinger", touchpad_2fg_clickfinger_distance, LITEST_CLICKPAD, LITEST_ANY); in TEST_COLLECTION() [all …]
|
D | test-trackpoint.c | 413 litest_add("trackpoint:middlebutton", trackpoint_middlebutton, LITEST_POINTINGSTICK, LITEST_ANY); in TEST_COLLECTION() 414 …litest_add("trackpoint:middlebutton", trackpoint_middlebutton_noscroll, LITEST_POINTINGSTICK, LITE… in TEST_COLLECTION() 415 litest_add("trackpoint:scroll", trackpoint_scroll, LITEST_POINTINGSTICK, LITEST_ANY); in TEST_COLLECTION() 416 litest_add("trackpoint:scroll", trackpoint_scroll_source, LITEST_POINTINGSTICK, LITEST_ANY); in TEST_COLLECTION() 417 …litest_add("trackpoint:left-handed", trackpoint_topsoftbuttons_left_handed_trackpoint, LITEST_TOPB… in TEST_COLLECTION() 418 …litest_add("trackpoint:left-handed", trackpoint_topsoftbuttons_left_handed_touchpad, LITEST_TOPBUT… in TEST_COLLECTION() 419 …litest_add("trackpoint:left-handed", trackpoint_topsoftbuttons_left_handed_both, LITEST_TOPBUTTONP… in TEST_COLLECTION() 421 litest_add("trackpoint:palmdetect", trackpoint_palmdetect, LITEST_POINTINGSTICK, LITEST_ANY); in TEST_COLLECTION() 422 …litest_add("trackpoint:palmdetect", trackpoint_palmdetect_resume_touch, LITEST_POINTINGSTICK, LITE… in TEST_COLLECTION() 423 …litest_add("trackpoint:palmdetect", trackpoint_palmdetect_require_min_events, LITEST_POINTINGSTICK… in TEST_COLLECTION() [all …]
|
D | test-touchpad.c | 6989 litest_add("touchpad:motion", touchpad_1fg_motion, LITEST_TOUCHPAD, LITEST_ANY); in TEST_COLLECTION() 6990 litest_add("touchpad:motion", touchpad_2fg_no_motion, LITEST_TOUCHPAD, LITEST_SINGLE_TOUCH); in TEST_COLLECTION() 6992 …litest_add("touchpad:scroll", touchpad_2fg_scroll, LITEST_TOUCHPAD, LITEST_SINGLE_TOUCH|LITEST_SEM… in TEST_COLLECTION() 6993 …litest_add("touchpad:scroll", touchpad_2fg_scroll_initially_diagonal, LITEST_TOUCHPAD, LITEST_SING… in TEST_COLLECTION() 6994 …litest_add("touchpad:scroll", touchpad_2fg_scroll_axis_lock, LITEST_TOUCHPAD, LITEST_SINGLE_TOUCH|… in TEST_COLLECTION() 6995 …litest_add("touchpad:scroll", touchpad_2fg_scroll_axis_lock_switch, LITEST_TOUCHPAD, LITEST_SINGLE… in TEST_COLLECTION() 6997 …litest_add("touchpad:scroll", touchpad_2fg_scroll_slow_distance, LITEST_TOUCHPAD, LITEST_SINGLE_TO… in TEST_COLLECTION() 6998 …litest_add("touchpad:scroll", touchpad_2fg_scroll_return_to_motion, LITEST_TOUCHPAD, LITEST_SINGLE… in TEST_COLLECTION() 6999 litest_add("touchpad:scroll", touchpad_2fg_scroll_source, LITEST_TOUCHPAD, LITEST_SINGLE_TOUCH); in TEST_COLLECTION() 7000 litest_add("touchpad:scroll", touchpad_2fg_scroll_semi_mt, LITEST_SEMI_MT, LITEST_SINGLE_TOUCH); in TEST_COLLECTION() [all …]
|
D | test-pointer.c | 3133 litest_add("pointer:motion", pointer_motion_relative, LITEST_RELATIVE, LITEST_POINTINGSTICK); in TEST_COLLECTION() 3136 litest_add("pointer:motion", pointer_motion_absolute, LITEST_ABSOLUTE, LITEST_ANY); in TEST_COLLECTION() 3137 litest_add("pointer:motion", pointer_motion_unaccel, LITEST_RELATIVE, LITEST_ANY); in TEST_COLLECTION() 3138 litest_add("pointer:button", pointer_button, LITEST_BUTTON, LITEST_CLICKPAD); in TEST_COLLECTION() 3142 …litest_add("pointer:button", pointer_recover_from_lost_button_count, LITEST_BUTTON, LITEST_CLICKPA… in TEST_COLLECTION() 3143 litest_add("pointer:scroll", pointer_scroll_wheel, LITEST_WHEEL, LITEST_TABLET); in TEST_COLLECTION() 3144 litest_add("pointer:scroll", pointer_scroll_button, LITEST_RELATIVE|LITEST_BUTTON, LITEST_ANY); in TEST_COLLECTION() 3145 …litest_add("pointer:scroll", pointer_scroll_button_noscroll, LITEST_ABSOLUTE|LITEST_BUTTON, LITEST… in TEST_COLLECTION() 3146 …litest_add("pointer:scroll", pointer_scroll_button_noscroll, LITEST_ANY, LITEST_RELATIVE|LITEST_BU… in TEST_COLLECTION() 3147 …litest_add("pointer:scroll", pointer_scroll_button_no_event_before_timeout, LITEST_RELATIVE|LITEST… in TEST_COLLECTION() [all …]
|
D | test-touchpad-tap.c | 3702 litest_add("tap:1fg", touchpad_1fg_tap, LITEST_TOUCHPAD, LITEST_ANY); in TEST_COLLECTION() 3703 litest_add("tap:1fg", touchpad_1fg_doubletap, LITEST_TOUCHPAD, LITEST_ANY); in TEST_COLLECTION() 3712 litest_add("tap:1fg", touchpad_1fg_tap_n_drag, LITEST_TOUCHPAD, LITEST_ANY); in TEST_COLLECTION() 3713 litest_add("tap:1fg", touchpad_1fg_tap_n_drag_draglock, LITEST_TOUCHPAD, LITEST_ANY); in TEST_COLLECTION() 3714 litest_add("tap:1fg", touchpad_1fg_tap_n_drag_draglock_tap, LITEST_TOUCHPAD, LITEST_ANY); in TEST_COLLECTION() 3715 litest_add("tap:1fg", touchpad_1fg_tap_n_drag_draglock_timeout, LITEST_TOUCHPAD, LITEST_ANY); in TEST_COLLECTION() 3716 litest_add("tap:2fg", touchpad_2fg_tap_n_drag, LITEST_TOUCHPAD, LITEST_SINGLE_TOUCH); in TEST_COLLECTION() 3717 …litest_add("tap:2fg", touchpad_2fg_tap_n_drag_3fg_btntool, LITEST_TOUCHPAD, LITEST_SINGLE_TOUCH|LI… in TEST_COLLECTION() 3718 litest_add("tap:2fg", touchpad_2fg_tap_n_drag_3fg, LITEST_TOUCHPAD, LITEST_SINGLE_TOUCH); in TEST_COLLECTION() 3721 …litest_add("tap:2fg", touchpad_2fg_tap_move_on_release, LITEST_TOUCHPAD|LITEST_SEMI_MT, LITEST_SIN… in TEST_COLLECTION() [all …]
|
D | test-totem.c | 589 litest_add("totem:tool", totem_type, LITEST_TOTEM, LITEST_ANY); in TEST_COLLECTION() 590 litest_add("totem:tool", totem_axes, LITEST_TOTEM, LITEST_ANY); in TEST_COLLECTION() 591 litest_add("totem:proximity", totem_proximity_in_out, LITEST_TOTEM, LITEST_ANY); in TEST_COLLECTION() 592 litest_add("totem:proximity", totem_proximity_in_on_init, LITEST_TOTEM, LITEST_ANY); in TEST_COLLECTION() 593 litest_add("totem:proximity", totem_proximity_out_on_suspend, LITEST_TOTEM, LITEST_ANY); in TEST_COLLECTION() 595 litest_add("totem:axes", totem_motion, LITEST_TOTEM, LITEST_ANY); in TEST_COLLECTION() 596 litest_add("totem:axes", totem_rotation, LITEST_TOTEM, LITEST_ANY); in TEST_COLLECTION() 597 litest_add("totem:axes", totem_size, LITEST_TOTEM, LITEST_ANY); in TEST_COLLECTION() 598 litest_add("totem:button", totem_button, LITEST_TOTEM, LITEST_ANY); in TEST_COLLECTION() 599 litest_add("totem:button", totem_button_down_on_init, LITEST_TOTEM, LITEST_ANY); in TEST_COLLECTION() [all …]
|
D | test-tablet.c | 5932 litest_add("tablet:tool", tool_ref, LITEST_TABLET | LITEST_TOOL_SERIAL, LITEST_ANY); in TEST_COLLECTION() 5933 litest_add("tablet:tool", tool_user_data, LITEST_TABLET | LITEST_TOOL_SERIAL, LITEST_ANY); in TEST_COLLECTION() 5934 litest_add("tablet:tool", tool_capability, LITEST_TABLET, LITEST_ANY); in TEST_COLLECTION() 5936 litest_add("tablet:tool", tool_type, LITEST_TABLET, LITEST_ANY); in TEST_COLLECTION() 5937 litest_add("tablet:tool", tool_in_prox_before_start, LITEST_TABLET, LITEST_TOTEM); in TEST_COLLECTION() 5938 litest_add("tablet:tool", tool_direct_switch_skip_tool_update, LITEST_TABLET, LITEST_ANY); in TEST_COLLECTION() 5939 litest_add("tablet:tool", tool_direct_switch_with_forced_proxout, LITEST_TABLET, LITEST_ANY); in TEST_COLLECTION() 5943 litest_add("tablet:tool", tool_in_prox_before_start, LITEST_TABLET, LITEST_TOTEM); in TEST_COLLECTION() 5944 litest_add("tablet:tool_serial", tool_unique, LITEST_TABLET | LITEST_TOOL_SERIAL, LITEST_ANY); in TEST_COLLECTION() 5945 litest_add("tablet:tool_serial", tool_serial, LITEST_TABLET | LITEST_TOOL_SERIAL, LITEST_ANY); in TEST_COLLECTION() [all …]
|
D | test-keyboard.c | 484 litest_add("keyboard:keys", keyboard_has_key, LITEST_KEYS, LITEST_ANY); in TEST_COLLECTION() 485 litest_add("keyboard:keys", keyboard_keys_bad_device, LITEST_ANY, LITEST_ANY); in TEST_COLLECTION() 486 litest_add("keyboard:time", keyboard_time_usec, LITEST_KEYS, LITEST_ANY); in TEST_COLLECTION() 488 litest_add("keyboard:events", keyboard_no_buttons, LITEST_KEYS, LITEST_ANY); in TEST_COLLECTION() 489 litest_add("keyboard:events", keyboard_frame_order, LITEST_KEYS, LITEST_ANY); in TEST_COLLECTION() 491 litest_add("keyboard:leds", keyboard_leds, LITEST_ANY, LITEST_ANY); in TEST_COLLECTION() 493 litest_add("keyboard:scroll", keyboard_no_scroll, LITEST_KEYS, LITEST_WHEEL); in TEST_COLLECTION()
|
D | test-switch.c | 1373 litest_add("switch:has", switch_has_cap, LITEST_SWITCH, LITEST_ANY); in TEST_COLLECTION() 1374 litest_add("switch:has", switch_has_lid_switch, LITEST_SWITCH, LITEST_ANY); in TEST_COLLECTION() 1375 litest_add("switch:has", switch_has_tablet_mode_switch, LITEST_SWITCH, LITEST_ANY); in TEST_COLLECTION() 1379 litest_add("switch:toggle", switch_not_down_on_init, LITEST_SWITCH, LITEST_ANY); in TEST_COLLECTION() 1391 litest_add("lid:keyboard", lid_open_on_key, LITEST_SWITCH, LITEST_ANY); in TEST_COLLECTION() 1392 litest_add("lid:keyboard", lid_open_on_key_touchpad_enabled, LITEST_SWITCH, LITEST_ANY); in TEST_COLLECTION() 1398 …litest_add("tablet-mode:touchpad", tablet_mode_disable_touchpad_on_init, LITEST_SWITCH, LITEST_ANY… in TEST_COLLECTION() 1399 …litest_add("tablet-mode:touchpad", tablet_mode_disable_touchpad_on_resume, LITEST_SWITCH, LITEST_A… in TEST_COLLECTION() 1400 …litest_add("tablet-mode:touchpad", tablet_mode_enable_touchpad_on_resume, LITEST_SWITCH, LITEST_AN… in TEST_COLLECTION() 1401 litest_add("tablet-mode:keyboard", tablet_mode_disable_keyboard, LITEST_SWITCH, LITEST_ANY); in TEST_COLLECTION() [all …]
|
D | test-gestures.c | 1069 litest_add("gestures:cap", gestures_cap, LITEST_TOUCHPAD, LITEST_SINGLE_TOUCH); in TEST_COLLECTION() 1070 litest_add("gestures:cap", gestures_nocap, LITEST_ANY, LITEST_TOUCHPAD); in TEST_COLLECTION() 1074 …litest_add("gestures:swipe", gestures_swipe_3fg_btntool_pinch_like, LITEST_TOUCHPAD, LITEST_SINGLE… in TEST_COLLECTION() 1082 litest_add("gestures:swipe", gestures_3fg_buttonarea_scroll, LITEST_CLICKPAD, LITEST_SINGLE_TOUCH); in TEST_COLLECTION() 1083 …litest_add("gestures:swipe", gestures_3fg_buttonarea_scroll_btntool, LITEST_CLICKPAD, LITEST_SINGL… in TEST_COLLECTION() 1085 litest_add("gestures:time", gestures_time_usec, LITEST_TOUCHPAD, LITEST_SINGLE_TOUCH); in TEST_COLLECTION()
|
D | test-quirks.c | 1475 litest_add("quirks:devices", quirks_model_alps, LITEST_TOUCHPAD, LITEST_ANY); in TEST_COLLECTION() 1476 litest_add("quirks:devices", quirks_model_wacom, LITEST_TOUCHPAD, LITEST_ANY); in TEST_COLLECTION() 1477 litest_add("quirks:devices", quirks_model_apple, LITEST_TOUCHPAD, LITEST_ANY); in TEST_COLLECTION() 1478 litest_add("quirks:devices", quirks_model_synaptics_serial, LITEST_TOUCHPAD, LITEST_ANY); in TEST_COLLECTION()
|
D | test-path.c | 1023 litest_add("path:create", path_force_destroy, LITEST_ANY, LITEST_ANY); in TEST_COLLECTION() 1033 litest_add("path:device events", path_added_device, LITEST_ANY, LITEST_ANY); in TEST_COLLECTION() 1034 litest_add("path:device events", path_device_sysname, LITEST_ANY, LITEST_ANY); in TEST_COLLECTION()
|
D | litest.h | 430 #define litest_add(name_, func_, ...) \ macro
|