View Single Post
Old 06-07-2018, 04:56 PM   #297
CH23
Bottom Text
CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.CH23 ought to be getting tired of karma fortunes by now.
 
Posts: 146
Karma: 332882
Join Date: Nov 2016
Device: Kobo Clara HD, Kobo Glo HD
Quote:
Originally Posted by tshering View Post
The script etc/init.d/rcS exports based on the value of PRODUCT the name of the touch driver to be used for KSM as mousedriver.
The script adds/kbmenu/onstart/checkinstall.sh checks whether this touch driver is available in adds/kbmenu/Qt/plugins/mousedrivers. If it does not find it there, it tries to copy it from mnt/onboard/.adds/kbmenu_user/copyrepos.
Currently there are two touch drivers available in KSM: libKoboTS.so and libKoboTS_h2o2.so. Since your device model is not known to KSM it tries to use libKoboTS.so.

The source code of the drivers are here.
I hoped it'd be easy. I've replaced 'snow' with 'snow|nova' within the rcS file.
It copies the libKoboTS_h2o2.so to the mousedrivers directory, but it doesn't seem to work directly.

I'll check to see where, within all files, 'snow' is used (as it seems that nova might be similar to it)

EDIT: I have touch control!

added nova to adds/kbmenu/onstart/ksmhome.sh

Right now touch is 'flipped' (when i touch in top left, it thinks i touch bottom left)

Last edited by CH23; 06-07-2018 at 05:22 PM.
CH23 is offline   Reply With Quote