From c9e175a5073523442d99ecd22271c1a88597ca0c Mon Sep 17 00:00:00 2001 From: Peter Hutterer Date: Thu, 8 Jan 2026 16:46:00 +1000 Subject: [PATCH] test: correct overriding ABS_MISC in litest event frames This still requires LITEST_AUTO_ASSIGN for that value in the test devices (which no device currently sets) but meanwhile: not scaling ABS_MISC into a magic range is the correct thing to do. Part-of: --- test/litest.c | 1 + 1 file changed, 1 insertion(+) diff --git a/test/litest.c b/test/litest.c index 25de3af1..7d950996 100644 --- a/test/litest.c +++ b/test/litest.c @@ -2489,6 +2489,7 @@ axis_replacement_value(struct litest_device *d, while (axis->evcode != -1) { if (axis->evcode == evcode) { switch (evcode) { + case ABS_MISC: case ABS_MT_SLOT: case ABS_MT_TRACKING_ID: case ABS_MT_TOOL_TYPE: