Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for XP-Pen Artist 16 2nd Gen #698

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

Krzysztof-WW
Copy link

Hi, I fixed hid descriptor for this tablet and everything works, pressure, buttons on stylus, tilt. Only buttons on tablet are reported as normal keyboard but that can be remapped later in the system.

@JoseExposito
Copy link
Collaborator

Hi @Krzysztof-WW

I'd recommend to create a HID-BPF driver instead of adding it here. DIGImend is almost unmaintained and HID-BPF is the easiest option to get your changes in the upstream kernel.

Here is a quick summary of the decission:
#693 (comment)

And here is an example adding support for another XP-PEN device:
https://gitlab.freedesktop.org/libevdev/udev-hid-bpf/-/merge_requests/88

And a tutorial:
https://libevdev.pages.freedesktop.org/udev-hid-bpf/tutorial.html

You did most of the work already, it'd be as easy as copy and paste the linked code and change the descriptors. Let me know if you need help with it.

@Krzysztof-WW
Copy link
Author

I think I should be able to write a HID-BPF driver. It really looks like I only need to change descriptors and buttons in example you provided to have a working driver.
Also thank you for the info on HID-BPF, because I didn't know there was better a alternative for DIGImend.

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