With Kernel 5.18.x a graphic tablets pen works only once.
You can move the mouse-pointer as long the pen is not removed. Removing and bringing back the pen will stop any input from the graphic tablet.
Dis- and reconnecting the USB-Port, will reinitialize the functionality until you remove the pen again
A comparable problem was found with GNOME. See
With Kernel 5.17.xx everything works fine.