diff --git a/test/litest-device-calibrated-touchscreen.c b/test/litest-device-calibrated-touchscreen.c index 1684648b..ef4903e2 100644 --- a/test/litest-device-calibrated-touchscreen.c +++ b/test/litest-device-calibrated-touchscreen.c @@ -72,7 +72,7 @@ static int events[] = { TEST_DEVICE("calibrated-touchscreen", .type = LITEST_CALIBRATED_TOUCHSCREEN, - .features = LITEST_TOUCH, + .features = LITEST_TOUCH|LITEST_PRECALIBRATED, .interface = &interface, .name = "Calibrated Touchscreen", diff --git a/test/litest.h b/test/litest.h index f69f83be..9d968d63 100644 --- a/test/litest.h +++ b/test/litest.h @@ -366,6 +366,7 @@ enum litest_device_type { #define LITEST_DIRECT bit(30) #define LITEST_TOTEM bit(31) #define LITEST_FORCED_PROXOUT bit(32) +#define LITEST_PRECALIBRATED bit(33) /* this is a semi-mt device, so we keep track of the touches that the tests * send and modify them so that the first touch is always slot 0 and sends diff --git a/test/test-tablet.c b/test/test-tablet.c index 9a6602e6..6b052a90 100644 --- a/test/test-tablet.c +++ b/test/test-tablet.c @@ -6208,9 +6208,9 @@ TEST_COLLECTION(tablet) litest_add(tablet_pressure_distance_exclusive, LITEST_TABLET | LITEST_DISTANCE, LITEST_ANY); /* The totem doesn't need calibration */ - litest_add(tablet_calibration_has_matrix, LITEST_TABLET, LITEST_TOTEM); - litest_add(tablet_calibration_set_matrix, LITEST_TABLET, LITEST_TOTEM); - litest_add(tablet_calibration_set_matrix_delta, LITEST_TABLET, LITEST_TOTEM); + litest_add(tablet_calibration_has_matrix, LITEST_TABLET, LITEST_TOTEM|LITEST_PRECALIBRATED); + litest_add(tablet_calibration_set_matrix, LITEST_TABLET, LITEST_TOTEM|LITEST_PRECALIBRATED); + litest_add(tablet_calibration_set_matrix_delta, LITEST_TABLET, LITEST_TOTEM|LITEST_PRECALIBRATED); litest_add(tablet_pressure_min_max, LITEST_TABLET, LITEST_ANY); litest_add_for_device(tablet_pressure_range, LITEST_WACOM_INTUOS); @@ -6226,7 +6226,7 @@ TEST_COLLECTION(tablet) litest_add(relative_no_delta_prox_in, LITEST_TABLET, LITEST_ANY); litest_add(relative_delta, LITEST_TABLET, LITEST_ANY); litest_add(relative_no_delta_on_tip, LITEST_TABLET|LITEST_HOVER, LITEST_ANY); - litest_add(relative_calibration, LITEST_TABLET, LITEST_ANY); + litest_add(relative_calibration, LITEST_TABLET, LITEST_PRECALIBRATED); litest_add(touch_arbitration, LITEST_TABLET, LITEST_ANY); litest_add(touch_arbitration_stop_touch, LITEST_TABLET, LITEST_ANY);