It has been a very long time since I looked at the code. I think the right way
to proceed is to add some EVENT types to wsconsio.h and then add a handler,
say wsmouse_pen_input (similar to wsmouse_precision_scroll), for distance,
pressure and tilt. Then we can adjust the uintuos driver and your driver
to instead call wsmouse_pen_input. Finally, the X11 patch which I attached
will have to be adjusted accordingly. I think this will allow existing
code to continue working as before and X11 will also do the right thing.
What do you think?