[PATCH v7 wayland] protocol: add wl_pointer.frame, axis_source, axis_stop, and axis_discrete

Peter Hutterer peter.hutterer at who-t.net
Tue Dec 8 15:20:22 PST 2015


On Tue, Dec 08, 2015 at 12:08:29PM -0800, Bill Spitzak wrote:
> On Mon, Dec 7, 2015 at 5:11 PM, Peter Hutterer <peter.hutterer at who-t.net>
> wrote:
> 
> >
> > +    <enum name="axis_source">
> > +      <description summary="axis source types">
> > +       Describes the source types for axis events. This indicates to the
> > +       client how an axis event was physically generated; a client may
> > +       adjust the user interface accordingly. For example, scroll events
> > +       from a "finger" source may be in a smooth coordinate space with
> > +       kinetic scrolling whereas a "wheel" source may be in discrete steps
> > +       of a number of lines.
> >
> 
> With the addition of the axis_discrete events it seems like this no longer
> is for distinguishing smooth coordinate space from discrete steps. I think
> this description wants to be reworded to remove that. Also clarify what a
> trackball with smooth motion should produce.

axis_discrete is about discrete *input*, i.e. you get one click per logical
scroll.

axis_source may be used discrete *output*, e.g. you move three lines per
logical scroll. Or it may be used for kinetic scrolling. Or any other thing.

Cheers,
   Peter



More information about the wayland-devel mailing list