Graphics tablet pen buttons are not working correctly after upgrading to Fedora 41

For some of the XP Pen Artist we have a BPF in udev-hid-bpf, if the tablet doesn’t work correctly then filing an issue with udev-hid-bpf is probably the best first step to debugging what’s going on.

There’s a blog post here describing how we got this fixed for one of them, could be that we need to extend this to your respective devices.

Having said that - if it works fine under X but not Wayland then it’s unlikely an issue at the kernel level.