I also tried the b2qt image.
After build the: bitbake b2qt-embedded-qt5-image
I had the same inverted touchscreen issue.
In my case, I saw that the appcontroller.conf wasn’t that friendly. So I solved this issue removing some environments from there and adding at somewhere else.
In the end my files finished like this:
/etc/appcontroller.conf
base=linux
platform=colibri-vf
/lib/systemd/system/qtlauncher.service
[Unit]
Description=B2Qt Launcher Demo
After=systemd-user-sessions.service
ConditionPathExists=!/usr/bin/b2qt
[Service]
ExecStart=-/usr/bin/appcontroller /usr/bin/qtlauncher --applications-root /data/user/qt
EnvironmentFile=/etc/envqt
[Install]
WantedBy=multi-user.target
/etc/envqt
#APPCONTROLER
QMLSCENE_DEVICE=softwarecontext
QT_QPA_PLATFORM=linuxfb
QSG_RENDER_LOOP=basic
QML2_IMPORT_PATH=/data/user/qt/qmlplugins
QT_IM_MODULE=qtvirtualkeyboard
QT_QUICK_CONTROLS_STYLE=Flat
XDG_RUNTIME_DIR=/tmp
#New one
QT_QPA_EGLFS_DISABLE_INPUT=1
QT_QPA_FB_DISABLE_INPUT=1
QT_QPA_FB_TSLIB=1
#Some other else
QWS_MOUSE_PROTO=Tslib:/dev/input/touchscreen0
TSLIB_CALIBFILE=/etc/pointercal
TSLIB_CONFFILE=/etc/ts.conf
TSLIB_TSEVENTTYPE=INPUT
TSLIB_TSDEVICE=/dev/input/touchscreen0
QT_QPA_FB_DISABLE_INPUT=1
QT_QPA_EGLFS_TSLIB=1
QT_QPA_GENERIC_PLUGINS=tslib
I din’t have time to understand which of the environments made the difference for me, and than I just add all of then.
It works good for me, you can check the b2qt performance at the link below: