Register Guidelines E-Books Search Today's Posts Mark Forums Read

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 11-14-2017, 11:55 AM   #31
gilali
Member
gilali began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Oct 2017
Location: Paris
Device: [Kobo Aura 2, Kobo H2O2]
Quote:
Originally Posted by Frenzie View Post
Btw, have you tried one of the latest nightlies like http://build.koreader.rocks/download...1406-gaa7d4f9/
If I understand correctly that should kind of work?
Here's my test on youtube
And its crash.log attached
As you can see, multitouch works better than unitouch

Build 1406 out of the box, + upside down patch + "-d" argument
Attached Files
File Type: zip crash.zip (1.15 MB, 3 views)
gilali is offline   Reply With Quote
Advert
Old 11-14-2017, 02:41 PM   #32
Frenzie
Addict
Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.
 
Posts: 302
Karma: 106200
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
Nice video! Does the device and/or the kernel driver support actual multitouch? If so then an evtest with multitouches and multitouch gestures would probably be helpful to have. In principle that should work out of the box too but maybe one of the non-standard Kobo workarounds is getting in the way.
Frenzie is offline   Reply With Quote
Old 11-14-2017, 04:28 PM   #33
gilali
Member
gilali began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Oct 2017
Location: Paris
Device: [Kobo Aura 2, Kobo H2O2]
Here's the multitouch log.
I suppose is't not possible to put ksm's touch driver into Koreader. Because in pbchess, touching works nice. And Koreader not need multitouch, isn't it ?
Attached Files
File Type: zip crash.zip (609.5 KB, 3 views)
gilali is offline   Reply With Quote
Old 11-15-2017, 01:01 AM   #34
geekraver
Addict
geekraver knows the difference between 'who' and 'whom'geekraver knows the difference between 'who' and 'whom'geekraver knows the difference between 'who' and 'whom'geekraver knows the difference between 'who' and 'whom'geekraver knows the difference between 'who' and 'whom'geekraver knows the difference between 'who' and 'whom'geekraver knows the difference between 'who' and 'whom'geekraver knows the difference between 'who' and 'whom'geekraver knows the difference between 'who' and 'whom'geekraver knows the difference between 'who' and 'whom'geekraver knows the difference between 'who' and 'whom'
 
Posts: 324
Karma: 10197
Join Date: Jul 2006
Location: Redmond
Device: iPad Pro,Nexus 7,Kindle Paperwhite,Kobo H2O Ed 2
Tried the one at that link; display is upside down and it doesn't respond to any touch presses.
geekraver is offline   Reply With Quote
Old 11-15-2017, 05:07 AM   #35
gilali
Member
gilali began at the beginning.
 
Posts: 20
Karma: 10
Join Date: Oct 2017
Location: Paris
Device: [Kobo Aura 2, Kobo H2O2]
@geekraver
Yes, according to #31, your result is as expected.
Quote:
Build 1406 out of the box, + upside down patch
Upside down patch
For touch presses, it's expected too. You have to use multitouch for better response like this
gilali is offline   Reply With Quote
Old 11-15-2017, 11:30 AM   #36
geekraver
Addict
geekraver knows the difference between 'who' and 'whom'geekraver knows the difference between 'who' and 'whom'geekraver knows the difference between 'who' and 'whom'geekraver knows the difference between 'who' and 'whom'geekraver knows the difference between 'who' and 'whom'geekraver knows the difference between 'who' and 'whom'geekraver knows the difference between 'who' and 'whom'geekraver knows the difference between 'who' and 'whom'geekraver knows the difference between 'who' and 'whom'geekraver knows the difference between 'who' and 'whom'geekraver knows the difference between 'who' and 'whom'
 
Posts: 324
Karma: 10197
Join Date: Jul 2006
Location: Redmond
Device: iPad Pro,Nexus 7,Kindle Paperwhite,Kobo H2O Ed 2
Doesn't seem practical.

I'm struggling to understand why pbChess and KSM are working but KOReader not? Do they all use completely different mechanisms for touch?
geekraver is offline   Reply With Quote
Old 11-15-2017, 05:26 PM   #37
Frenzie
Addict
Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.Frenzie is the king of the Divan.
 
Posts: 302
Karma: 106200
Join Date: Oct 2014
Location: Antwerp
Device: Kobo Aura H2O
@gilali
KOReader supports multitouch gestures, which can make some user interactions easier but of course it doesn't depend on them. It may not be supported on any Kobos atm (hardware-wise) but don't quote me on that. It shouldn't need special support if it's standard in any case. There's definitely multitouch on Kindle and Android, presumably also on PocketBook and Ubuntu Touch.

@geekraver
It's some of the Kobos that use non-standard mechanisms for touch instead of the standard Linux kernel events. They emit something that's close to it, but not quite. This is contrary to the kernel principle that user-space applications shouldn't have to worry about this kind of thing. Linus Torvalds would firmly reject whatever kernel patches they applied, probably coupled with some profanity.

Anyway, you can see KOReader's Lua implementation of the Linux single touch and multi touch protocols here, including a reverse-engineered implementation of what was dubbed the Phoenix protocol (because it's the first device where that particular creature showed up).

KSM/vlasovsoftlauncher depends on something similar written in C or C++ instead. Possibly just a few Kobo-specific workarounds on top of something straight from Qt.

Anyway, I guess Sergey can just look at some evtest output and immediately translate it to some relevant code without needing to take a good hour or two to really wrap his head around it. But he probably wrote that code, whereas I didn't implement any of KOReader's stuff so that I only have a passing knowledge of it. I almost got started for the H2O when I noticed that it reused the Phoenix protocol.

You could say I could've used the time I spent writing this post parsing the events and the code instead but it's already 22:26 and trust me, that's a lot more exhausting.
Frenzie is offline   Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
H2O2 Edition 2 Release Date? (Australia) meeera Kobo Reader 12 09-21-2017 06:23 AM
Kobo Aura H2O 2nd Edition vs old Kobo Aura H2O screen dimentions. iXPert12 Kobo Reader 1 09-18-2017 10:35 AM
Errors with EPUB rendering on Kobo Aura H2O running koreader-stable-v2015.11 algernonramone KOReader 8 03-16-2016 01:55 AM
[Aura H2O 3.18.0] Koreader/Coolreader Font Problems for a specific .epub Gnorr Kobo Reader 3 10-09-2015 05:11 AM
Koreader (latest install instructions) on H2O JSWolf KOReader 15 12-04-2014 10:32 PM


All times are GMT -4. The time now is 05:54 AM.


MobileRead.com is a privately owned, operated and funded community.