12-20-2018, 01:24 PM | #331 |
Evangelist
Posts: 444
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Plato 0.6.2
I've released 0.6.2.
Plato now provides an application called Sketch. It can be launched from the Applications submenu of the main menu. Features of Sketch:
The sketches are saved in a subdirectory of library-path called Sketches and automatically imported when quitting. |
12-21-2018, 05:24 AM | #332 |
absolute beginner
Posts: 323
Karma: 1750999
Join Date: May 2017
Location: Go with the wind (43°19'17.7"N 2°00'19.4"W)
Device: ka1
|
Thank you so much!
|
Advert | |
|
12-22-2018, 05:58 AM | #333 |
Evangelist
Posts: 444
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
@NiLuJe: Does the Forma have touch pressure sensitivity?
I'm asking this because the Aura H₂O Edition 2 emits ABS_MT_PRESSURE events. |
12-22-2018, 02:50 PM | #334 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@baskerville: Yes, it appears to do, too .
(Basically, the chain of events is exactly that). I'm not quite sure what the scale is, though. I'm getting values between 0 and 143 (decimal), possibly a bit more? The "20" I'm using with FBInk I got from a Clara log. For my purposes, it registers as a touch on the Forma, too. EDIT: Might actually be related more to the amplitude of the touch than actual pressure: i.e., I get small values with the tip of my finger, and larger if I squish it around . Take that with a grain of salt, I'm not familiar with the intricacies of touch input events . Last edited by NiLuJe; 12-22-2018 at 03:02 PM. |
12-22-2018, 05:20 PM | #335 |
Evangelist
Posts: 444
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
@NiLuJe: Thanks, I finally understood how to read the hex dumps!
|
Advert | |
|
12-22-2018, 06:05 PM | #336 | |
Guru
Posts: 869
Karma: 2676800
Join Date: Sep 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Quote:
|
|
12-22-2018, 07:44 PM | #337 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@sherman: From my meager understanding of it after glancing at this, uh, quite possibly?
As an extra data point, here's what happens when I start with the tip of my thumb before smushing the full pad down. Last edited by NiLuJe; 12-22-2018 at 08:15 PM. Reason: Better snippet, without stray events |
12-22-2018, 08:50 PM | #338 | |
Guru
Posts: 869
Karma: 2676800
Join Date: Sep 2008
Location: Taranaki - NZ
Device: Kobo Aura H2O, Kobo Forma
|
Quote:
I doubt the Kobo capacitive or IR touch screens are capable of sensing "real" pressure, so the _MAJOR/_MINOR event's seemed the main candidates of how they create a "pressure" value. |
|
12-22-2018, 11:26 PM | #339 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Okay, since this came up because @pazos is trying to make me play with the accelerometer, here's the same kind of dump in evemu's much more readable format!
(Because the evtest version bundled with the FW is fairly terrible). |
12-29-2018, 06:26 AM | #340 |
Evangelist
Posts: 444
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
@NiLuJe: I've attached a test binary for the Forma.
Within the home view, can you, for each rotation value, from 0 to 270, answer the following questions:
Please post the output of grep 'Framebuffer rotation' info.log. The gyro events and the Forward–Backward buttons should also be handled:
Finally, the frontlight should also work. |
12-29-2018, 08:33 AM | #341 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
@baskerville: Have to run out, will test later tonight .
Random remark in the meantime: Nickel's default mapping is with the *bottom* button bound to next page, with dynamic mapping according to the rotation for it to keep following the same logic (i.e., top becomes next pg @ CW because it's then on the right, which makes sense, at least for LTR scripts. That's the default default mapping, but there's an option to invert it. |
12-29-2018, 04:54 PM | #342 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Okay, after a quick test:
* Visually, stuff looks fine on startup (Portrait, buttons on the right), menu is on top. However, touch coordinates are off in all Portrait orientation (touching the bottom-left corner registers on the top-right of the screen). Touch input is okay in both Landscape orientations. * Setting the frontlight crashes Code:
thread 'main' panicked at 'called `Result::unwrap()` on an `Err` value: Os { code: 22, kind: InvalidInput, message: "Invalid argument" }', libcore/result.rs:1009:5 Code:
[pid 180] 22:02:40 [7246e1f6] ioctl(13, _IOC(_IOC_NONE, 0, 0xf1, 0), 0x19) = 0 * Can't really say much about the FL warmth, as it's ineffectual with the FL @ 0, which, err, makes sense . * Button mapping appears to follow what you described, but it's a bit jarring compared to Nickel's mapping (i.e., it matches Nickel in Landscape, but not in Portrait). * Gyro events behave properly. * Rota: Code:
1069:Framebuffer rotation: 2 -> 2. 1070:Framebuffer rotation: 3 -> 1. 1071:Framebuffer rotation: 1 -> 3. 1072:Framebuffer rotation: 2 -> 2. 1073:Framebuffer rotation: 3 -> 1. 1074:Framebuffer rotation: 0 -> 0. 1075:Framebuffer rotation: 1 -> 3. 1076:Framebuffer rotation: 0 -> 0. 1077:Framebuffer rotation: 3 -> 1. 1078:Framebuffer rotation: 0 -> 0. 1079:Framebuffer rotation: 3 -> 1. 1080:Framebuffer rotation: 2 -> 2. 1081:Framebuffer rotation: 1 -> 3. 1082:Framebuffer rotation: 0 -> 0. 1083:Framebuffer rotation: 1 -> 3. 1084:Framebuffer rotation: 2 -> 2. 1085:Framebuffer rotation: 3 -> 1. 1086:Framebuffer rotation: 2 -> 2. 1087:Framebuffer rotation: 1 -> 3. 1088:Framebuffer rotation: 2 -> 2. 1089:Framebuffer rotation: 3 -> 1. 1090:Framebuffer rotation: 2 -> 2. 1091:Framebuffer rotation: 1 -> 3. 1092:Framebuffer rotation: 0 -> 0. 1093:Framebuffer rotation: 1 -> 3. 1094:Framebuffer rotation: 2 -> 2. 1095:Framebuffer rotation: 3 -> 1. 1096:Framebuffer rotation: 2 -> 2. 1097:Framebuffer rotation: 1 -> 3. 1098:Framebuffer rotation: 2 -> 2. 1099:Framebuffer rotation: 0 -> 0. 1100:Framebuffer rotation: 2 -> 2. 1101:Framebuffer rotation: 3 -> 1. 1102:Framebuffer rotation: 1 -> 3. * It's using the legacy MXCFB ioctls, not the Mk.7 ones. Last edited by NiLuJe; 12-29-2018 at 05:04 PM. |
12-29-2018, 06:07 PM | #343 |
Evangelist
Posts: 444
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
The attached binary should fix all the aforementioned issues.
I guess I should use the new calls on mark 7 devices. |
12-29-2018, 08:34 PM | #344 |
BLAM!
Posts: 13,497
Karma: 26047188
Join Date: Jun 2010
Location: Paris, France
Device: Kindle 2i, 3g, 4, 5w, PW, PW2, PW5; Kobo H2O, Forma, Elipsa, Sage, C2E
|
Okay, round two .
* Rotation/Touch input works perfectly fine! * FL/NL both work, but the widget sliders are reset at 0 every time it pops up (the actual FL/NL status doesn't change). * I'd forgotten to test the "hold" gestures you mentioned earlier with the pageturn buttons, but unless I'm doing it wrong, I can't seem to trigger them: I get a "normal" page turn action on key down, and nothing else. But bindings are consistent this time . Yeah, if only for the explicit REAGL handling, which is fairly nice for the reader . |
12-30-2018, 05:57 AM | #345 | ||
Evangelist
Posts: 444
Karma: 305160
Join Date: Aug 2015
Device: Kobo Glo HD, Kobo Aura ONE
|
Quote:
Quote:
Regarding Nickel's Default and Inverted mappings: Am I right in believing that the setting only applies to the portrait modes? |
||
Thread Tools | Search this Thread |
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
PocketBook-KOReader: a document reader for PDF, DJVU, EPUB, FB2, CBZ, ... (AGPLv3) | chrox | KOReader | 569 | 09-15-2024 10:13 AM |
KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) | hawhill | Kindle Developer's Corner | 1268 | 02-27-2024 12:49 PM |
Kindle -- KOReader: a document reader for PDF, DJVU, EPUB, FB2, HTML, ... (GPLv3) | hawhill | KOReader | 1219 | 01-27-2024 03:29 PM |
v3 vs. v3+ as a pdf/DjVu reader | hedonism_bot | HanLin eBook | 7 | 11-02-2010 09:16 PM |