Skip to content

Conversation

@HannahLP
Copy link

Note: This is largely a duplicate of an historic pull request; I had made a mess of the repository, so pulled together a cleaner request from the master branch of my fork for use here.

This request adds support for the XP-Pen Deco02, based on my recent modifications made in the most recent udev-hid-bpf release.

This version is tested as working with the appropriate udev-hid-bpf program running, with GNOME's configuration tool correctly displaying and managing the inputs of the device.

The only present remaining issue is that this tablet supports exactly one pen - the P05, which supports only one button.
As far as I can tell, there is no generic one-button with eraser stylus option, and I unfortunately could not find where this stylus definition lives in the repository. As such, any configuration for the pen is presently going to be unclear.

@whot
Copy link
Member

whot commented Dec 4, 2025

unfortunately could not find where this stylus definition lives in the repository

data/wacom.stylus for wacom pens, etc. The stylis are assigned to groups and then the tablets reference the groups (some of which like the generic ones happen to only have one pen in it).

Copy link
Member

@whot whot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The .tablet file LGTM, thanks, but the svg has at least one error, let's see what the CI says after adding the TouchDial class. Once those are fixed, happy to merge it.

id="DialGroup">
<circle
id="Dial"
class="Dial"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
class="Dial"
class="TouchDial Dial"

I think this should do the trick.

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