![]() |
#286 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@CH23: Nope, KOReader does touch all on its own.
|
![]() |
![]() |
![]() |
#287 |
Bottom Text
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 146
Karma: 332882
Join Date: Nov 2016
Device: Kobo Clara HD, Kobo Glo HD
|
|
![]() |
![]() |
![]() |
#288 | |
Sorceress
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 169
Karma: 19604
Join Date: Nov 2006
Location: Montreal
Device: Kobo Libra Colour, Boox Air2&Nova 3C, Kindle, Sony, and more
|
Quote:
This worked. All is good now! |
|
![]() |
![]() |
![]() |
#289 |
BLAM!
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 13,506
Karma: 26047202
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@CH23: Mostly over here.
Which means we also need to know the codename, but that's as easy as running /bin/kobo_config.sh ![]() |
![]() |
![]() |
![]() |
#290 | |
Bottom Text
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 146
Karma: 332882
Join Date: Nov 2016
Device: Kobo Clara HD, Kobo Glo HD
|
Quote:
I tried to set it up same as glo hd + naturallight, which gave me no touch control then i tried the setup for the aura ONE, same result. Also tried without defining touch properties. What's interesting to note is that, while koreader was booting, it registered my finger fpr just long enough to bring up a menu. But then nothing. |
|
![]() |
![]() |
![]() |
#291 |
Bottom Text
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 146
Karma: 332882
Join Date: Nov 2016
Device: Kobo Clara HD, Kobo Glo HD
|
KOReader is working.
add to device.lua the following: -- Kobo Clara HD: local KoboNova = Kobo:new{ model = "Kobo_nova", hasFrontlight = yes, touch_snow_protocol = true, touch_mirrored_x = false, touch_probe_ev_epoch_time = true, display_dpi = 300, hasNaturalLight = yes, } and elseif codename == "nova" then return KoboNova Last edited by CH23; 06-07-2018 at 05:53 AM. |
![]() |
![]() |
![]() |
#293 |
Bottom Text
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 146
Karma: 332882
Join Date: Nov 2016
Device: Kobo Clara HD, Kobo Glo HD
|
Could you tell me where i can find more info abou this? What code within KSM should i look at, or what code in pbchess?
|
![]() |
![]() |
![]() |
#294 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
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. Last edited by tshering; 06-07-2018 at 04:47 PM. |
|
![]() |
![]() |
![]() |
#295 |
Enthusiast
![]() Posts: 28
Karma: 10
Join Date: Jul 2014
Device: Kobo Aura HD
|
|
![]() |
![]() |
![]() |
#296 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
|
![]() |
![]() |
![]() |
#297 | |
Bottom Text
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 146
Karma: 332882
Join Date: Nov 2016
Device: Kobo Clara HD, Kobo Glo HD
|
Quote:
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. |
|
![]() |
![]() |
![]() |
#298 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
And of course, no need now to copy the driver. |
|
![]() |
![]() |
![]() |
#299 | |
Bottom Text
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 146
Karma: 332882
Join Date: Nov 2016
Device: Kobo Clara HD, Kobo Glo HD
|
Quote:
The screen is shown correctly, but touch is wrong: If i touch on the left, it will register on the right If i touch on the right, it will register on the left If i touch at the top, it will register on the top If i touch at the bottom, it will register on the bottom The correct ksmrotate value is 2 The correct mrotate value is 270 I tried adding 'touch_mirrored_x = true,' to device.lua, but this does not seem to do anything Last edited by CH23; 06-08-2018 at 01:38 AM. |
|
![]() |
![]() |
![]() |
#300 | ||
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 3,489
Karma: 2914715
Join Date: Jun 2012
Device: kobo touch
|
Quote:
Quote:
Sorry for being short, but I have to dash the door. Last edited by tshering; 06-08-2018 at 03:43 AM. |
||
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Kobo Start Menu 08 | tshering | Kobo Developer's Corner | 1021 | 06-29-2020 04:59 PM |
Kobo-Adding alternative readers using Kobo Start Menu | Ken Maltby | KOReader | 75 | 01-10-2020 01:35 PM |
Kobo Start Menu | tshering | Kobo Developer's Corner | 918 | 10-12-2017 02:32 PM |
Start KOReader automatically with Kobo Start Menu | checcousero | KOReader | 2 | 03-07-2017 11:42 AM |
Kobo Start Menu 07 | tshering | Kobo Developer's Corner | 644 | 03-02-2017 06:40 AM |