Summary: | Potential incorrect ClickFinger count on three finger click | ||||||
---|---|---|---|---|---|---|---|
Product: | xorg | Reporter: | Allan McRae <allan> | ||||
Component: | Input/synaptics | Assignee: | Peter Hutterer <peter.hutterer> | ||||
Status: | RESOLVED FIXED | QA Contact: | |||||
Severity: | normal | ||||||
Priority: | medium | ||||||
Version: | git | ||||||
Hardware: | Other | ||||||
OS: | All | ||||||
Whiteboard: | |||||||
i915 platform: | i915 features: | ||||||
Attachments: |
|
Description
Allan McRae
2012-04-04 20:49:50 UTC
This could be fixed by adding something like: if(nfingers > hw->num_mt_mask - 1) nfingers = hw->num_mt_mask - 1; above the return statement in clickpad_guess_clickfingers. This would have the advantage of allowing the percentage touchpad width that pairs of fingers are required to be within to be increased, as 30% is quite small for some touchpads. Created attachment 59706 [details] [review] 0001-Don-t-count-fingers-twice-when-guessing-distance-483.patch I don't have hardware to test this, please do so. You'll also need http://patchwork.freedesktop.org/patch/9827/ for the new define. That patch corrects the overcounting of fingers issue. Now when I three finger click, three or less fingers are detected (depending on separation). New patch, fixes bug in previous algorithm: http://patchwork.freedesktop.org/patch/9906/ commit f68ddd9be4202333a1c3ccf536966a96dc0bfde7 Author: Peter Hutterer <peter.hutterer@who-t.net> Date: Tue Apr 10 13:06:49 2012 +1000 Don't count fingers twice when guessing distance (#48316) |
Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.