<div dir="ltr"><br><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 2, 2015 at 3:57 PM, Peter Hutterer <span dir="ltr"><<a href="mailto:peter.hutterer@who-t.net" target="_blank">peter.hutterer@who-t.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">For the puck/lens cursor tool we need to artificially reduce proximity<br>
detection. These tools are usually used in a relative mode (i.e. like a mouse)<br>
and thus require lifting and resetting the tool multiple times to move across<br>
the screen. The tablets' distance detection goes too far, requiring the user<br>
to lift the device several cm on every move. This is uncomfortable.<br>
<br>
Introduce an artificial distance threshold for the devices with the default<br>
value taken from the X.Org wacom driver. If a tool is in proximity but outside<br>
of this range, fake proximity events accordingly.<br>
<span class="HOEnZb"><font color="#888888"><br></font></span></blockquote><div><br></div><div>You will want something like this for pens and all other tools, as it is possible to use them in a relative mode (very common if the tablet is smaller than the screen). I think rather than typing this to the type of tool, you need to tie it to whether relative motion is being used or not. Not sure where in libinput or wayland that would be, though.<br>Â <br></div></div><br></div></div>