<html>
<head>
<base href="https://bugs.freedesktop.org/">
</head>
<body>
<p>
<div>
<b><a class="bz_bug_link
bz_status_NEW "
title="NEW - Combined Keyboard+Mouse+Touchpad device problems"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99914#c6">Comment # 6</a>
on <a class="bz_bug_link
bz_status_NEW "
title="NEW - Combined Keyboard+Mouse+Touchpad device problems"
href="https://bugs.freedesktop.org/show_bug.cgi?id=99914">bug 99914</a>
from <span class="vcard"><a class="email" href="mailto:freedesktop@gergo.csillger.hu" title="Gergely Nagy <freedesktop@gergo.csillger.hu>"> <span class="fn">Gergely Nagy</span></a>
</span></b>
<pre>Some more data points: I've been staring at xf86-input-libinput, and noticed
that it sets the axis max to 0xffff for absolute devices. So I changed the
firmware to report 64k*64k, and then started to move the cursor with the
touchpad functions towards the bottom right corner. Lo and behold, it reached
the corner at 1980x1080, which happens to be the resolution of my screen.
So it appears that no scaling is done, even though
<a href="https://cgit.freedesktop.org/xorg/driver/xf86-input-libinput/tree/src/xf86libinput.c#n68">https://cgit.freedesktop.org/xorg/driver/xf86-input-libinput/tree/src/xf86libinput.c#n68</a>
suggests there should be. IIRC, I had to remove line 1344
(<a href="https://cgit.freedesktop.org/xorg/driver/xf86-input-libinput/tree/src/xf86libinput.c#n1344">https://cgit.freedesktop.org/xorg/driver/xf86-input-libinput/tree/src/xf86libinput.c#n1344</a>)
for absolute events to get handled... so perhaps the problem is being on the
same node and/or not having the BTN_TOUCH_* flags? (For the record, all we want
from this touchpad emulation is absolute positioning, no clicking, palm
detection, or anything like that - there is no real touchpad in play, just
regular keyboard keys sending touchpad events)</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>