My system is ubuntu 18.04, tablet is xp-pen g430.
I can only test button in xinput, with evemu-record it show coordinate. evemu-rc
lsusb version udevadm