summaryrefslogtreecommitdiff
path: root/src/evdev-fallback.c
diff options
context:
space:
mode:
authorPeter Hutterer <peter.hutterer@who-t.net>2022-09-05 09:35:23 +1000
committerPeter Hutterer <peter.hutterer@who-t.net>2022-09-08 09:03:15 +1000
commitcef91f5b43ddcf01875d16d2e69180f4b71c5bf5 (patch)
treef5843e7ecdab53b89cba1a11ad4ae71b8bb6779c /src/evdev-fallback.c
parentfc1a28951a4d0cd37150ca7a997aa9227b4d6061 (diff)
downloadlibinput-cef91f5b43ddcf01875d16d2e69180f4b71c5bf5.tar.gz
filter: don't normalize the const filter approach
The filter vs const filter is supposed to be for accelerated vs non-accelerated motion (e.g. pointer motion vs scrolling) - in both cases the returned value is supposed to be in the same coordinate system, just once with an extra accel factor applied. This was broken in the flat and low-dpi profiles: in both of those the accelerated filter does *not* normalize, it merely applies the fixed/adaptive factor. The constant filter normalized however. The result was that on e.g. a 5000dpi mouse the constant motion was 5 times slower than the accelerated motion, even with a factor of 1. Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Diffstat (limited to 'src/evdev-fallback.c')
0 files changed, 0 insertions, 0 deletions