based on your uinput driver I’ve created something similar for windows.
As windows does not support simply injecting pressure information into the event queue, I’ve omitted this for now. But instead have built two binaries, one working like the original, and another one, which ignores the normal touch events for mouse clicks, but instead uses pressure information to enable touch moves to just move the mouse while pressing harder with the finger sends the mouse down information so it starts drawing.
For pressure information a HID input driver would be necessary. This will probably make pressure information work in GIMP too.
But for now this is better than nothing I guess.
Thanks for this nice project und greetings from germany