to make best use of touchpads and trackpoints, Horizon EDA looks at the source of the GdkDevice a scroll event came from use scroll events from trackpoints for panning.
On at least one dell laptop using X11, its trackpoint wasn’t detected as such since it’s name doesn’t match the ones gtk knows about: https://gitlab.gnome.org/GNOME/gtk/-/blob/gtk-3-24/gdk/x11/gdkdevicemanager-xi2.c#L465
To remediate this and provide options for further customization, I added a page in the preferences dialog to configure input devices:
While this works great on X11, on Wayland, there’s just one one “Wayland pointer”. Other applications that support per-device setting such as Inkscape our Xournal++, show the same behavior.
So what’s the way to go to detect input devices on Wayland?