[Wayland-bugs] [Bug 764385] Add tablet support
gtk+ (GNOME Bugzilla)
bugzilla at gnome.org
Fri Apr 1 04:20:24 UTC 2016
https://bugzilla.gnome.org/show_bug.cgi?id=764385
--- Comment #3 from Peter Hutterer <peter.hutterer at who-t.net> ---
(In reply to Carlos Garnacho from comment #2)
> (In reply to Matthias Clasen from comment #1)
> > Some initial impressions from looking over the branch:
> >
> > 1) Do we forsee ever adding properties to GdkDeviceTool ? In that case, it
> > might be better to make it an object now, instead of a boxed type
>
> Right, IIRC it started like that in the early branches from from lyude and I
> didn't put much thought in it. I wouldn't expect much extra/non-static info
> ahead, but it'll be probably safer to make it a GObject anyway.
this is more a comment from the other side of the protocol but any
device-specific configuration on the tablet will go into the tools, so the
tools may scale up to become more complicated. not quite sure how pressure
curves etc will be handled but either way I agree that making this a GObject is
prudent.
> > 6) Is there always going to be a 1:1 relationship between devices and tools
> > ? Could one imagine a fancy 'multi-pen' tablet that handles more than one
> > tool simultaneously ?
>
> AFAIK, there were already such models, but those are mostly forgotten
> nowadays. It is true that the gdk layer couldn't cope as well with this case
> if it hw capability became trendy again, even though the wayland protocol
> itself can.
the Intuos2 (iirc) had that ability but it's too much of a niche and too
expensive to put the sensors in the hardware. so no recent tablet can do it, at
best you get touch + pen because they're two different devices. both libinput
and the protocol can handle a potential multi-pen input.
also, just for clarification: the default case is 1 tabelet:2 tools for Intuos
Pro (1 tablet, 1 tool with stylus + eraser). Some ex-Bamboo (now Intuos) have a
stylus-only pen, no eraser, and that is also the case for some non-Wacom
tablets. The surface pen is a special case because the eraser is triggered by a
button press, but still at the bottom of the device. The datastream looks
identical to turning the device around though.
the 1 tablet:many tools is a special case but common for professionals, 2:many
is relatively common at some studios.
--
You are receiving this mail because:
You are on the CC list for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/wayland-bugs/attachments/20160401/b835c485/attachment.html>
More information about the wayland-bugs
mailing list