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
Touchscreen inverted Y axis
- mcallegari
- Posts: 4807
- 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
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