summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2021-11-18 08:21:42 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2021-11-24 06:17:31 +0000
commit9f62995eea41d30240a61befc5f2de3c8b3f4701 (patch)
treee214d49d7d6ad8e7f472c70f3db4468c1feaf184
parent878d00b0e9e44a9b1b807c27d5962bb1cf2cc0ca (diff)
downloadlibinput-9f62995eea41d30240a61befc5f2de3c8b3f4701.tar.gz
test: add missing tool event in the aiptek tablet test device
Needed for eraser tests Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
-rw-r--r--test/litest-device-aiptek-tablet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/test/litest-device-aiptek-tablet.c b/test/litest-device-aiptek-tablet.c
index f2bc43e9..f066a1ca 100644
--- a/test/litest-device-aiptek-tablet.c
+++ b/test/litest-device-aiptek-tablet.c
@@ -32,6 +32,7 @@ static struct input_event proximity_in[] = {
{ .type = EV_ABS, .code = ABS_Y, .value = LITEST_AUTO_ASSIGN },
/* Note: this device does not send tilt, despite claiming it has it */
{ .type = EV_ABS, .code = ABS_PRESSURE, .value = LITEST_AUTO_ASSIGN },
+ { .type = EV_KEY, .code = LITEST_BTN_TOOL_AUTO, .value = LITEST_AUTO_ASSIGN },
{ .type = EV_SYN, .code = SYN_REPORT, .value = 0 },
{ .type = -1, .code = -1 },
};