Touchscreen inverted

Hi, i installed FydeOS on my very old tablet, a Teclast X98 Air 3g.
All seems to work good, except for the touchscreen: the input with my finger is inverted, so if i touch on the top left side of the screen, the input will be registered in the bottom right side…
i just tried to edit grub config but for now with no success… any suggestion?
the mouse connected with usb works as expected, the problem is only in the touchscreen…and if i rotate the screen on the four side, also the touchscreen rotate and the problem persists…

Funny enough the scrolling on android is also inverted on the mouse wheel this also needs fixed