[Wayland-bugs] [Bug 96259] Imprecise click
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Wed Jun 15 10:04:53 UTC 2016
https://bugs.freedesktop.org/show_bug.cgi?id=96259
--- Comment #20 from Paviluf <jeremy9856 at gmail.com> ---
(In reply to Peter Hutterer from comment #19)
> nope, that would just be 1 :)
> I mean just using tp->hysteresis_margin.x = res_x;
> we deal with physical distances in libinput, a margin of res_x equates to
> 1mm in the x direction. the default for the hysteresis is 0.5mm but clearly
> yours needs more.
With this the cursor feel clumpsy
tp->hysteresis_margin.x = res_x;
tp->hysteresis_margin.y = res_y;
> also, I can't believe I haven't asked this yet: please run the
> touchpad-edge-detector tool and measure your physical touchpad's dimensions.
> If the dimensions are off, that may just explain it.
I measure 100.5x69mm.
Here is the output of touchpad-edge-detector
Touchpad Cypress APA Trackpad (cyapa) on /dev/input/event14
Move one finger around the touchpad to detect the actual edges
Kernel says: x [0..1280], y [0..960]
Touchpad sends: x [0..1279], y [0..959] /^C
Touchpad size as listed by the kernel: 106x64mm
Calculate resolution as:
x axis: 1280/<width in mm>
y axis: 960/<height in mm>
Suggested udev rule:
# <Laptop model description goes here>
evdev:name:Cypress APA Trackpad
(cyapa):dmi:bvncoreboot:bvr:bd12/09/2014:svnHewlett-Packard:pnFalco:pvr1.0:cvnHewlett-Packard:ct3:cvr:*
EVDEV_ABS_00=0:1279:<x resolution>
EVDEV_ABS_01=0:959:<y resolution>
EVDEV_ABS_35=0:1279:<x resolution>
EVDEV_ABS_36=0:959:<y resolution>
It seem that the dimensions are wrong:
physical 100.5x69mm vs kernel 106x64mm
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160615/038adb9e/attachment.html>
More information about the wayland-bugs
mailing list