[PATCH weston 00/25] A new touchscreen calibrator

Pekka Paalanen ppaalanen at gmail.com
Tue Mar 27 09:00:15 UTC 2018


On Mon, 26 Mar 2018 07:58:47 -0700
Jason Gerecke <killertofu at gmail.com> wrote:

> On Mon, Mar 26, 2018 at 2:36 AM, Pekka Paalanen <ppaalanen at gmail.com> wrote:
> > On Fri, 23 Mar 2018 09:33:10 -0700
> > Jason Gerecke <killertofu at gmail.com> wrote:
> >  
> >> Nice! Do you think its reasonable to extend the allowed use of this
> >> protocol to other kinds of direct-input devices? I don't see anything
> >> which would prevent this protocol from working equally well to
> >> calibrate the pen input for a tablet PC or Cintiq for example. The
> >> compositor would need to obviously have pen support and notify the
> >> client of the device in a "touch_device" event, but otherwise it looks
> >> like the client doesn't really have to care about the underlying
> >> device -- the protocol provides its own definition of down/up/motion
> >> events. Just the documentation would need to be tweaked.  
> >
> > Hi Jason,
> >
> > I suppose, but I am not at all familiar with such devices, so I cannot
> > make the call. I have never even used one.
> >
> > If the design is a good match for other devices, I would be happy to
> > accept spec changes and renaming interfaces to be more generic, but
> > only if someone is working on an implementation somewhere as well.
> >
> > Currently the protocol is being proposed to be Weston private. We might
> > land it as is, and then talk about how it should be generalized and
> > which package should install it for public use. We can have
> > libweston-dev install the XML file, or it could be proposed to be
> > included in wayland-protocols if it satisfies the general inclusion
> > requirements there. Or somewhere else.
> >
> >
> > Thanks,
> > pq
> >  
> 
> Good to know. It certainly seems like a good match at least for this
> second class of devices, so I would be very interested in seeing the
> wording made a bit more generic.
> 
> Weston's tablet support is still in the works (I believe Lyude was
> last working on it?) so there's not an urgent need to make these
> changes, but it would be good to think about them if/when the protocol
> goes public. I imagine GNOME would be remotely interested in this
> protocol... Their current tablet calibration tool has to deal with
> exactly the same issues that this protocol very nicely addresses (e.g.
> un-transforming coordinates, screen mapping, grabbing input).

Ok, very good. Personally I won't worry about the wording until someone
proposes a patch to install the XML file for public consumption.

The implementation I referred to does not need to be in Weston by the
way. Any serious implementation would be good enough for me to accept
spec changes.


Thanks,
pq
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 833 bytes
Desc: OpenPGP digital signature
URL: <https://lists.freedesktop.org/archives/wayland-devel/attachments/20180327/c3fcdfcc/attachment.sig>


More information about the wayland-devel mailing list