Skip to content

Add 2 more buttons to XP-Pen Artist 12#960

Draft
redstrate wants to merge 1 commit intolinuxwacom:masterfrom
redstrate:work/redstrate/fixup-artist12
Draft

Add 2 more buttons to XP-Pen Artist 12#960
redstrate wants to merge 1 commit intolinuxwacom:masterfrom
redstrate:work/redstrate/fixup-artist12

Conversation

@redstrate
Copy link
Contributor

We emulate the touch bar as two additional buttons for this tablet.

See https://gitlab.freedesktop.org/libevdev/udev-hid-bpf/-/merge_requests/222

We emulate the touch bar as two additional buttons for this tablet.
@redstrate
Copy link
Contributor Author

For some reason KDE Plasma is showing 3 buttons, this is probably our bug but I should look into it.

@redstrate
Copy link
Contributor Author

It also looks like the SVG shows the strip on there.

@whot
Copy link
Member

whot commented Feb 24, 2026

just a fly-by comment: in the SVG we rely on certain IDs and classes for the components, see the (slightly hidden data/layouts/README.md).

Our test suite checks for required things to be present (if you have a Button A we expect a Button A, Button A Leader, etc.) but we don't check for those to be not present if not needed. IOW an SVG may have an element with id ButtonF when the tablet's data file doesn't actually have a button F. We rely on whatever renders the SVG to filter that - this may be where the issue is coming from?

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.

2 participants