Skip to content

[keyboard layout] Fix scroll with trackpads

David Edmundson requested to merge work/keyboard_scroll into master

onWheel is a bit messy with trackpads. It we just compare > 0 our scroll rate is effectively determined by the refresh rate of the device. Use of 120 "wheels" is a common pattern used elsewhere.

Code is effectively copied from plasma-pa

Edited by David Edmundson

Merge request reports