[Wayland-bugs] [Bug 99914] Combined Keyboard+Mouse+Touchpad device problems

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Feb 23 09:22:27 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=99914

--- Comment #6 from Gergely Nagy <freedesktop at gergo.csillger.hu> ---
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
https://cgit.freedesktop.org/xorg/driver/xf86-input-libinput/tree/src/xf86libinput.c#n68
suggests there should be. IIRC, I had to remove line 1344
(https://cgit.freedesktop.org/xorg/driver/xf86-input-libinput/tree/src/xf86libinput.c#n1344)
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)

-- 
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/20170223/49c69cd9/attachment.html>


More information about the wayland-bugs mailing list