Skip to content

Reduce the slot count where the touchpad has more slots than it supports

Peter Hutterer requested to merge whot/libinput:wip/reduce-slot-count into master

Where a touchpad sends BTN_TOOL_foo for any foo > active slot count, we assume that the touchpad is lying about it's actually supported number of slots and drop the number of slots down to whatever we actually have.

Fixes #408 (closed)

This does not currently pass the test suite because the device has weird dimensions, see #408 (comment 381318). Depending on whether this gets fixed in the 60-evdev.hwdb we may not need to adjust the test cases.

Merge request reports