[PATCH v2 wayland-protocols] Add the tablet protocol

Peter Hutterer peter.hutterer at who-t.net
Tue Dec 8 14:00:39 PST 2015


On Tue, Dec 08, 2015 at 11:58:20AM -0800, Bill Spitzak wrote:
> What is the plan for using a tablet in "relative" mode? This is pretty
> common if the tablet is smaller than the screen, as many modern ones are.

I would love to hear where you get this information from, because the one
thing we're suffering from is not knowing how our users use the tablet.
Relative mode is common (and default) in the wacom driver for the lens/puck
tool but few users have that one. Relative mode for the stylus is available,
but we have little to no data on who's using it.

So, please tell me how you know this, because we desparately need this type
of information and I want to figure out more usage data.

That aside, relative mode is handled by the compositor, it's not something
exposed on the protocol. A client always gets absolute coordinates,
regardless of the input mode.

> My guess is that you plan to deliver screen/surface coordinates, and that
> the client is unaware of the actual size of the tablet. However it is not
> clear from this.

Please suggest a rewording that makes this clearer.

Cheers,
   Peter

> On Mon, Dec 7, 2015 at 9:31 PM, Peter Hutterer <peter.hutterer at who-t.net>
> wrote:
> 
> > fixing up the weston patches for this showed a couple of typos:
> >
> > On Tue, Dec 08, 2015 at 12:50:01PM +1000, Peter Hutterer wrote:
> > > +<protocol name="wayland_tablet_unstable_v1">
> >
> > the protocol name should just be "tablet", i.e. tablet_unstable_v1 in this
> > case.
> >
> > > +  <interface name="zwp_tablet_seat1" version="1">
> >
> > this should be ...seat_v1
> >
> > > +  <interface name="zwp_tablet_v11" version="1">
> >
> > this should be v1
> >
> > These are all fixed locally now.
> >
> > Cheers,
> >    Peter


More information about the wayland-devel mailing list