diff --git a/test/litest-device-aiptek-tablet.c b/test/litest-device-aiptek-tablet.c index f066a1ca..7e55d7de 100644 --- a/test/litest-device-aiptek-tablet.c +++ b/test/litest-device-aiptek-tablet.c @@ -38,6 +38,12 @@ static struct input_event proximity_in[] = { }; static struct input_event proximity_out[] = { + /* This tablet doesn't report BTN_TOOL_PEN 0 on proximity out but I *think* + * it still reports pressure values of zero? Who knows, we'd have to + * get our hands on the tablet again. Meanwhile, let's force the + * pressure to zero at least so other tests don't have to guess. + */ + { .type = EV_ABS, .code = ABS_PRESSURE, .value = 0 }, { .type = EV_SYN, .code = SYN_REPORT, .value = 0 }, { .type = -1, .code = -1 }, }; diff --git a/test/litest-device-huion-pentablet.c b/test/litest-device-huion-pentablet.c index 8e81bc15..0002dcee 100644 --- a/test/litest-device-huion-pentablet.c +++ b/test/litest-device-huion-pentablet.c @@ -36,6 +36,13 @@ static struct input_event proximity_in[] = { }; static struct input_event proximity_out[] = { + /* This tablet doesn't report BTN_TOOL_PEN 0 on proximity out but I *think* + * it still reports pressure values of zero? Who knows, we'd have to + * get our hands on the tablet again. Meanwhile, let's force the + * pressure to zero at least so other tests don't have to guess. + */ + { .type = EV_ABS, .code = ABS_PRESSURE, .value = 0 }, + { .type = EV_SYN, .code = SYN_REPORT, .value = 0 }, { .type = -1, .code = -1 }, }; diff --git a/test/litest-device-uclogic-tablet.c b/test/litest-device-uclogic-tablet.c index f9773add..026995bd 100644 --- a/test/litest-device-uclogic-tablet.c +++ b/test/litest-device-uclogic-tablet.c @@ -35,6 +35,13 @@ static struct input_event proximity_in[] = { }; static struct input_event proximity_out[] = { + /* This tablet doesn't report BTN_TOOL_PEN 0 on proximity out but I *think* + * it still reports pressure values of zero? Who knows, we'd have to + * get our hands on the tablet again. Meanwhile, let's force the + * pressure to zero at least so other tests don't have to guess. + */ + { .type = EV_ABS, .code = ABS_PRESSURE, .value = 0 }, + { .type = EV_SYN, .code = SYN_REPORT, .value = 0 }, { .type = -1, .code = -1 }, };