Page 1 of 1

Touchscreen inverted Y axis

Posted: Tue Mar 14, 2023 7:21 pm
by Egestas89
Please, give me an advice.
I have a 7" display with touch and the display works flawlessly, but the touch has a rotating Y axis - so when I click up, it clicks down and vice versa...

Can you please advise me how to invert the touch or calibrate it somehow? Thank you

Re: Touchscreen inverted Y axis

Posted: Wed Mar 15, 2023 8:05 am
by mcallegari
try setting
QT_QPA_EVDEV_TOUCHSCREEN_PARAMETERS="rotate=180"
documentation https://doc.qt.io/qt-5/inputs-linux-device.html

or QT_QPA_EGLFS_ROTATION
documentation here: https://doc.qt.io/qt-5/embedded-linux.html#eglfs