[PATCH weston 00/25] A new touchscreen calibrator
Jason Gerecke
killertofu at gmail.com
Mon Mar 26 14:58:47 UTC 2018
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).
Jason
---
Now instead of four in the eights place /
you’ve got three, ‘Cause you added one /
(That is to say, eight) to the two, /
But you can’t take seven from three, /
So you look at the sixty-fours....
>
>> On Fri, Mar 23, 2018 at 5:00 AM, Pekka Paalanen <ppaalanen at gmail.com> wrote:
>> > From: Pekka Paalanen <pekka.paalanen at collabora.co.uk>
>> >
>> > Hi all,
>> >
>> > the existing touchscreen calibrator in Weston has several problems. This
>> > proposal intends to solve them all by introducing a new protocol
>> > extension for touchscreen calibration and a new calibrator tool.
More information about the wayland-devel
mailing list