diff options
author | Peter Hutterer <peter.hutterer@who-t.net> | 2016-11-21 08:39:47 +1000 |
---|---|---|
committer | Peter Hutterer <peter.hutterer@who-t.net> | 2016-11-23 10:42:57 +1000 |
commit | cfdaaa32a73ba2f7b0379c2dbccabf120db8fc5e (patch) | |
tree | 931583ffd845df239f85341b77546cf9b51e1ec9 /configure.ac | |
parent | ab83c8e6267b9df5ab383e70e25e4d050a153601 (diff) |
touchpad: only use the last two coordinates for delta calculation
Taking the last 4 points means factoring in a coordinate that may be more than
40ms in the past - or even more when the finger moves slowly and we don't get
events for a while. This makes the pointer more sluggish and slower to catch up
with what the finger is actually doing.
We already have the motion hysteresis as a separate item to prevent jumps (and
thus adds some delay to the movement), the calculation over time doesn't
provide enough benefit to justify the sluggish pointer.
Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Diffstat (limited to 'configure.ac')
0 files changed, 0 insertions, 0 deletions