View Single Post
Old 03-20-2014, 05:29 AM   #351
tshering
Wizard
tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.tshering ought to be getting tired of karma fortunes by now.
 
Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
Sergey,

I would like to share some thoughts. Since the recent FW includes now a mouse/touch driver, I thought we might be getting better results by using the kobo libraries.

The executable is running, but shows no response to touch. The importent debug data from my first run are

Code:
QFactoryLoader::QFactoryLoader() looking at "/usr/local/Kobo/plugins/gfxdrivers/libimxepd.so" 
keys ("imxepd") 
killall: on-animator.sh: no process killed
killall: pickel: no process killed
Screen resolution is.. 600 x 800 
QFactoryLoader::QFactoryLoader() looking at "/usr/local/Kobo/plugins/mousedrivers/libtouchscreen.so" 
keys ("touch_device") 
QObject::connect: Cannot queue arguments of type 'QList<QTouchEvent::TouchPoint>'
(Make sure 'QList<QTouchEvent::TouchPoint>' is registered using qRegisterMetaType().)
Loading iType..  YES
Since I don't know much of developing, I have no clear idea how to register and use this. I did some random trials. One of them is
Code:
    ui->setupUi(this);
    qRegisterMetaType<QList<QTouchEvent::TouchPoint> >("QList<QTouchEvent::TouchPoint>");
    this->setAttribute(Qt::WA_AcceptTouchEvents);
    ui->listWidget->setAttribute(Qt::WA_AcceptTouchEvents);
The debug log then was
Code:
QFactoryLoader::QFactoryLoader() looking at "/usr/local/Kobo/plugins/gfxdrivers/libimxepd.so" 
keys ("imxepd") 
killall: on-animator.sh: no process killed
killall: pickel: no process killed
Screen resolution is.. 600 x 800 
QFactoryLoader::QFactoryLoader() looking at "/usr/local/Kobo/plugins/mousedrivers/libtouchscreen.so" 
keys ("touch_device") 
Loading iType..  YES
Still no response to touch. Maybe it is evident for you how to do it correctly.
tshering is offline   Reply With Quote