Skip to content

layouts: Add tablet and drawing area outlines#989

Draft
whot wants to merge 1 commit into
linuxwacom:masterfrom
whot:wip/tablet-drawing-outlines
Draft

layouts: Add tablet and drawing area outlines#989
whot wants to merge 1 commit into
linuxwacom:masterfrom
whot:wip/tablet-drawing-outlines

Conversation

@whot
Copy link
Copy Markdown
Member

@whot whot commented May 29, 2026

This is currently incomplete but covers the recent wacom intuos/cintiq tablets and some xp-pen tablets.

This adds an approximation of an outline (SVG: id="Outline" class="Outline") and a drawing area (SVG: id="DrawingArea" class="DrawingArea"). The goal of both of those is to make the SVG more useful, right now we focus on just the buttons/rings/..., roughly placed where they should be relative to the screen but without any other information about the tablet.

This stems directly from the GNOME Settings OSD approach for configuring these buttons but it's insufficient if we ever want to use it in some other setting. Hence - let's add something that makes this an abstraction of the tablet so we can at least visualize it.

We have over 200 layout files so I'm not going for perfect accuracy here. Some devices are decades old and unlikely to be in use, really we only need to care about tablets from the last few years. And I'll leave proportion-perfect drawings to those that have those tablets and care about this.

For backwards compatibility we should probably make both invisible by default but since afaik only GNOME Settings uses that... meh?

This makes the svg files more useful by default.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant