I had my xp-pen G640 working great on ubuntu 16.04 with the digimend-kernel-drivers.
But now that I updated to ubuntu 20.04 the tablet is recognized but is mapped all wrong.
It moves the curser and selects when I click and hold the buttom button, the top button and tapping the pen does nothing.
it shows up 4 times
Virtual core pointer ⎜ ↳ XP-PEN STAR G640 Mouse id=15 [slave pointer (2)] ⎜ ↳ XP-PEN STAR G640 Mouse id=16 [slave pointer (2)] ⎜ ↳ XP-PEN STAR G640 Pen Pen (0) id=28 [slave pointer (2)] ⎣ Virtual core keyboard ↳ XP-PEN STAR G640 Pen id=17 [slave keyboard (3)]