I certainly think the events should continue to produce scroll events so that scrolling in existing applications still work. You can add a new api if there is a need for an application to distinguish what produced the scrolling event.
On 10 Oct 2021, at 19:07, Albrecht Schlosser wrote:
>
>> I don't know yet how Linux/Unix provides multi-touch events to the user program, i.e. FLTK.
>
> This is under investigation but links to documentation (or even code snippets) would be appreciated.
>
This is not something I know about - I did (briefly) look at how X11 was proposing to handle multi-touch (which was the precursor to gesture events, in effect) but that was a long time ago and I never got anywhere useful.
Also, just to cheer everybody up, my understanding (so may well be wrong!) is that X11 and Wayland take fundamentally different approaches to this so we probably need to handle both at some point.
(My understanding, such as it is, is that X11 strives to maintain backwards compatibility with legacy pointer events, but Wayland has gone all-in on a new touch event interface.)
Comments are owned by the poster. All other content is copyright 1998-2025 by Bill Spitzak and others. This project is hosted by The FLTK Team. Please report site problems to 'erco@seriss.com'.