Touchscreen inverted Y axis

All the topics related to QLC+ on the Raspberry Pi
Post Reply
Egestas89
Posts: 1
Joined: Thu Mar 02, 2023 7:04 am
Real Name: Petr Tesar

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
User avatar
mcallegari
Posts: 4482
Joined: Sun Apr 12, 2015 9:09 am
Location: Italy
Real Name: Massimo Callegari
Contact:

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
Post Reply