But the Teensy mouse device is dead now.
Not even clicks are working anymore.
And if we connect a real mouse it does not work neither.
It seems they block mouse support by purpose to force the usage of touchscreen ??
Yes, it does indeed seem to be a limitation in X11, where you can have pointer control by absolute or relative coordinates, but not both. It's not anything to do with Teensy... just a limitation in the design of X11.
That's why I "ignored" the stuff in reply #17. It's a touch screen with absolute coordinates, but not also containing relative coordinates.
While before we could use the workaround with a multiplication factor, now we are really stuck.
So we need someone who programs a touch screen HID device to run in Teensy.
Did you trying the 0018 absolute-only code with this Linux machine using the touch screen?
My guess is that may work. Maybe? If anything can, it's probably that.
1.) Do you know someone who could do that for a payment ?
2.) Would you yourself do that for a payment ?
I certainly can not get directly involved, even on a paid consulting basis. I have way too much to do on Teensy!!!
I do know a couple consultants who take on projects, but their expertise is more with PCB design and "normal" firmware. Still, you could ask if they're willing to take HID device stuff.
But before you do, I'd definitely try the 0018 code. If that doesn't work on the same machine that's using the touch screen, odds are slim any HID approach will.
As a last resort, you'd probably need to go to a non-HID (or custom, non-pointer HID) communication with a custom-written daemon that can inject X events. Or update the Linux machine to the bleeding edge libinput stuff which Koromix mentioned in reply #19.