Skip to content
Commit 30ebb7fa authored by Tai-hwa Liang's avatar Tai-hwa Liang Committed by Dmitry Torokhov
Browse files

Input: sentelic - filter out erratic movement when lifting finger

When lifing finger off the surface some versions of touchpad send movement
packets with very low coordinates, which cause cursor to jump to the upper
left corner of the screen. Let's ignore least significant bits of X and Y
coordinates if higher bits are all zeroes and consider finger not touching
the pad.

Bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=43197


Reported-and-tested-by: default avatarAleksey Spiridonov <leks13@leks13.ru>
Tested-by: default avatarEddie Dunn <eddie.dunn@gmail.com>
Tested-by: default avatarJakub Luzny <limoto94@gmail.com>
Tested-by: default avatarOlivier Goffart <olivier@woboq.com>
Signed-off-by: default avatarTai-hwa Liang <avatar@sentelic.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
parent 59d1f5c4
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment