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

--- Comment #8 from Hans de Goede <[email protected]> ---
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.
_______________________________________________
wayland-bugs mailing list
[email protected]
http://lists.freedesktop.org/mailman/listinfo/wayland-bugs

Reply via email to