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: <https://gitlab.freedesktop.org/libinput/libinput/-/merge_requests/1398>
This commit is contained in:
Peter Hutterer 2026-01-08 16:46:00 +10:00 committed by Marge Bot
parent d5110e1e68
commit c9e175a507

View file

@ -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: