diff --git a/test/litest-device-bcm5974.c b/test/litest-device-bcm5974.c index c9780a5..f509a46 100644 --- a/test/litest-device-bcm5974.c +++ b/test/litest-device-bcm5974.c @@ -40,7 +40,6 @@ static struct input_event down[] = { { .type = EV_ABS, .code = ABS_MT_TRACKING_ID, .value = LITEST_AUTO_ASSIGN }, { .type = EV_ABS, .code = ABS_MT_POSITION_X, .value = LITEST_AUTO_ASSIGN }, { .type = EV_ABS, .code = ABS_MT_POSITION_Y, .value = LITEST_AUTO_ASSIGN }, - { .type = EV_ABS, .code = ABS_MT_PRESSURE, .value = LITEST_AUTO_ASSIGN }, { .type = EV_SYN, .code = SYN_REPORT, .value = 0 }, { .type = -1, .code = -1 }, }; @@ -52,7 +51,6 @@ static struct input_event move[] = { { .type = EV_ABS, .code = ABS_PRESSURE, .value = LITEST_AUTO_ASSIGN }, { .type = EV_ABS, .code = ABS_MT_POSITION_X, .value = LITEST_AUTO_ASSIGN }, { .type = EV_ABS, .code = ABS_MT_POSITION_Y, .value = LITEST_AUTO_ASSIGN }, - { .type = EV_ABS, .code = ABS_MT_PRESSURE, .value = LITEST_AUTO_ASSIGN }, { .type = EV_SYN, .code = SYN_REPORT, .value = 0 }, { .type = -1, .code = -1 }, }; @@ -62,7 +60,6 @@ get_axis_default(struct litest_device *d, unsigned int evcode, int32_t *value) { switch (evcode) { case ABS_PRESSURE: - case ABS_MT_PRESSURE: *value = 30; return 0; } @@ -90,7 +87,6 @@ static struct input_absinfo absinfo[] = { { ABS_MT_WIDTH_MAJOR, 0, 2048, 81, 0, 0 }, { ABS_MT_WIDTH_MINOR, 0, 2048, 81, 0, 0 }, { ABS_MT_TRACKING_ID, 0, 65535, 0, 0, 0 }, - { ABS_MT_PRESSURE, 0, 255, 0, 0, 0 }, { .value = -1 }, };