<html>
    <head>
      <base href="https://bugs.freedesktop.org/">
    </head>
    <body>
      <p>
        <div>
            <b><a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Imprecise click"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=96259#c20">Comment # 20</a>
              on <a class="bz_bug_link 
          bz_status_NEEDINFO "
   title="NEEDINFO - Imprecise click"
   href="https://bugs.freedesktop.org/show_bug.cgi?id=96259">bug 96259</a>
              from <span class="vcard"><a class="email" href="mailto:jeremy9856@gmail.com" title="Paviluf <jeremy9856@gmail.com>"> <span class="fn">Paviluf</span></a>
</span></b>
        <pre>(In reply to Peter Hutterer from <a href="show_bug.cgi?id=96259#c19">comment #19</a>)
<span class="quote">> 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.</span >

With this the cursor feel clumpsy

tp->hysteresis_margin.x = res_x;
tp->hysteresis_margin.y = res_y;

<span class="quote">> 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.</span >

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</pre>
        </div>
      </p>


      <hr>
      <span>You are receiving this mail because:</span>

      <ul>
          <li>You are the assignee for the bug.</li>
      </ul>
    </body>
</html>