On Mon, 3 Mar 2025, Yorick Hardy wrote:
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?

It seems the correct way to go, I'll take a look at wscons when I
have some time. I'll follow your hint with wsmouse_precision_scroll
and contact the list when I have something working.

Regards,
adr

Reply via email to