[Wayland-bugs] [Bug 89935] T440s: middle and right clickpad buttons don't work if USB trackpoint is connected at boot
bugzilla-daemon at freedesktop.org
bugzilla-daemon at freedesktop.org
Mon Apr 13 23:30:16 PDT 2015
https://bugs.freedesktop.org/show_bug.cgi?id=89935
--- Comment #8 from Hans de Goede <jwrdegoede at fedoraproject.org> ---
Hi,
I'm prety sure that the cause is the code in evdev-mt-touchpad.c which is
responsible for selecting a trackstick to redirect the top software buttons to:
if (tp->buttons.trackpoint == NULL &&
(added_device->tags & EVDEV_TAG_TRACKPOINT)) {
/* Don't send any pending releases to the new trackpoint */
tp->buttons.active_is_topbutton = false;
tp->buttons.trackpoint = added_device;
libinput_device_add_event_listener(&added_device->base,
&tp->sendevents.trackpoint_listener,
tp_trackpoint_event, tp);
}
Notice that currently this takes the first device which has
EVDEV_TAG_TRACKPOINT set, we should change this to instead take the first ps/2
device (or maybe even the first "TPPS2 IBM TrackPoint").
Regards,
Hans
--
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freedesktop.org/archives/wayland-bugs/attachments/20150414/dd6821da/attachment.html>
More information about the wayland-bugs
mailing list