hi all how can we catch mousePressEvent (or similar ones) in QtEmbedded4.6.3 ? I have only touchscreen hardware with tslib+QtEmbedded4.6.3+linux2.6.32.2 all buttons work fine but void mdrivers::mousePressEvent(QMouseEvent* ev) { qDebug()<<"mousePressEvent"; ev->accept(); } does not work! b.r.
mousePressEvent tslib QtEmbedded4.6.3
as another solution, how can we catch /dev/input/event0 in Qt ? in command line "cat /dev/input/event0" work fine.
and this is my export export TSLIB_TSEVENTTYPE=INPUT export TSLIB_CONSOLEDEVICE=none export TSLIB_FBDEVICE=/dev/fb0 export TSLIB_TSDEVICE=/dev/input/event0 export TSLIB_CALIBFILE=/etc/pointercal export TSLIB_CONFFILE=/usr/local/etc/ts.conf export TSLIB_PLUGINDIR=/usr/local/lib/ts export QWS_MOUSE_PROTO=tslib:/dev/input/event0