Add XP Pen Deco02 Support #942
Open
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
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.