Quote:
Originally Posted by tshering
I still did not get it working. Do you have any ideas what I could do wrong? By the way I only replaced the mouse driver with the new one, should I have replaced some other files too?
|
This driver depends only on ScreenManager and SuspendManager. But you have them in KSM. I didn't change them for a long time.
There is only one idea. You should print debug info from driver.
export QWS_MOUSE_PROTO=KoboTS_h2o2:debug
myapp -qws -display.... > /mnt/onboard/debug.txt 2>&1
Another guess...
Driver has name: KoboTS_h2o2 (hardcoded inside) and probably ".so" file should be named libKoboTS_h2o2.so, but not libKoboTS.so. As far as sources are available you can try to change driver name inside...
tsplugin.cpp:
1. list << QLatin1String("KoboTS_h2o2");
2. if (key.toLower() == QLatin1String("kobots_h2o2"))
But on the other hand you are using the same approach to KoboTS_h2o driver and it works.