Skip to content

wheel: fix Lenovo Scrollpoint quirk

José Expósito requested to merge JoseExposito/libinput:issue-781 into main

The IBM/Lenovo Scrollpoint mouse features a trackpoint-like stick that sends a great amount of scroll deltas.

In order to handle the device, a quirk is in place to normalize the scroll events as they were relative motion.

However, when high-resolution scroll was implemented, we started normalizing the hi-res events instead of the lo-res events by mistake.

Fix the quirk by normalizing the right deltas.

Fixes: 6bb02aaf ("High-resolution scroll wheel support")

Signed-off-by: José Expósito jose.exposito89@gmail.com

Tested-by: Peter Ganzhorn peter.ganzhorn@gmail.com

Fix #781 (closed)

Merge request reports