Skip to content

High-resolution scroll heuristics

José Expósito requested to merge JoseExposito/libinput:hires-heuristics into main

In order to improve the high-resolution scroll experience and avoid involuntary scroll deltas, create a mouse wheel state machine to implement different heuristics:

  • Ignore scroll while the wheel is pressed: This was already in place
  • Ignore small scroll deltas: Some mice can generate deltas when the finger is put on the wheel or when the user tries to click the wheel
  • Ignore small scroll deltas in the opposite direction: When scrolling in one direction, if the scroll is stopped between 2 wheel detents, a small scroll can be generated in the opposite direction

Fix #666 (closed)

cc @gudvinr @knzivid

Merge request reports