03-21-2016, 09:35 PM | #16 | ||||
Member
Posts: 14
Karma: 116
Join Date: Feb 2016
Device: Kobo Glo HD
|
Quote:
Quote:
=============== Quote:
Quote:
#1761 Maybe?¿? but not comments about change light with 1 finger or something like that... Regards. Last edited by djalma; 03-21-2016 at 10:10 PM. |
||||
03-21-2016, 10:12 PM | #17 | |
Wizard
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
|
Quote:
|
|
Advert | |
|
03-21-2016, 10:39 PM | #18 | |
Member
Posts: 14
Karma: 116
Join Date: Feb 2016
Device: Kobo Glo HD
|
Quote:
https://i.ytimg.com/vi/OAhWhunSU94/maxresdefault.jpg but not about gestures. Somehow I was blind :/ Regards. |
|
03-22-2016, 10:53 AM | #19 | |
Member
Posts: 16
Karma: 10
Join Date: Mar 2016
Device: Kobo Aura H2O
|
Quote:
I will add that question in the Github #1761 anf see what can be done. |
|
06-19-2016, 01:26 PM | #20 |
Junior Member
Posts: 8
Karma: 130
Join Date: May 2016
Location: Lausanne
Device: Kobo Aura H2O, Kobo Auro One
|
Hey guys,
I have made a mod to the latest koreader nightly v2015.11-431. Tested on my Kobo aura H2O. Additional Functions are: 1. Frontlight can be toggled on and off by taping the bottom left corner. And frontlight level can be adjusted by sliding up or down on the left edge of the screen (add file: readerkobolight.lua; change file: readerview.lua.lua) 2. Frontlight level is shown in the footer (change file: readerfooter.lua) Hope someone find it useful. updated 06/25: koreader-v2015.11-483-frontlightmod-cyan.zip Last edited by yc_richard; 06-25-2016 at 02:16 PM. |
Advert | |
|
06-20-2016, 05:11 AM | #21 |
Connoisseur
Posts: 52
Karma: 10
Join Date: Jan 2011
Device: Kobo GLO HD, KOBO AURA ONE
|
Hello!
Guys, I'm looking for answers to my questions (for my Glo HD): 1. Is there a way to edit the step of adjusting Frontlight by swiping two fingers? It takes too long to set highlight from 1 to 100 value. In other words I need to increase swipe sensitivity. there should be a way to change sensitivity of adjusting Frontlight. I guess the right option for this is FRONTLIGHT_SENSIVITY_DECRESE = 2 but if I set FRONTLIGHT_SENSIVITY_DECRESE = 1 and then reboot the device I still see the default value FRONTLIGHT_SENSIVITY_DECRESE = 2. But I'm not sure is this right option to change Frontlight sensitivity... 2. As you know the gesture to change the intensity of the Frontlight in Nickel is swiping up or down by one finger on the left side of the screen. In KoReader we have to use two fingers. So the question is how to set one finger (for Frontlight adjusting) in KoReader? Thank you! P.S. I use the latest KoReader nightly build (koreader-kobo-arm-linux-gnueabihf-v2015.11-431-gc0846ee.zip). Last edited by The_Immortal; 06-20-2016 at 05:15 AM. |
06-20-2016, 02:03 PM | #22 | |||
Connoisseur
Posts: 52
Karma: 10
Join Date: Jan 2011
Device: Kobo GLO HD, KOBO AURA ONE
|
yc_richard,
Quote:
Works, but if you change Frontlight level you need to retap the footer to see actual Frontlight level. Quote:
Quote:
Thank you! Last edited by The_Immortal; 06-21-2016 at 04:24 AM. |
|||
06-20-2016, 03:44 PM | #23 |
Evangelist
Posts: 440
Karma: 1084584
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
|
|
06-20-2016, 05:51 PM | #24 | |
Junior Member
Posts: 8
Karma: 130
Join Date: May 2016
Location: Lausanne
Device: Kobo Aura H2O, Kobo Auro One
|
Quote:
Actually the sliding up or down dose not behave exactly the same as nickel. it will not refresh the frontlight level as you slide, but only after finishing the gesture. So depend on the distance of the gesture, it will increase or decrease a corresponding among of light. The max is 10% per gesture. (I took the code directly from two-finger swipe). Full distance is between 12.5% of screen height from top to 87.5% of screen height fron top (in my DTAP_ZONE_CYLIGHTSWIPE) and gives the 10% of frontlight change. Plus, I guess there is a listening time limit for koreader's swipe event, which means that you have to slide it fast!!! slowly motion does not work at all. Last edited by yc_richard; 06-20-2016 at 06:22 PM. |
|
06-20-2016, 06:00 PM | #25 |
Junior Member
Posts: 8
Karma: 130
Join Date: May 2016
Location: Lausanne
Device: Kobo Aura H2O, Kobo Auro One
|
Sadly, I have never learned or coded in LUA before. I know Linux and bash that can help explore and read its source code.
Joining team sounds really appealing but only when after I feel comfortable with LUA and get more free time, lol. Lots of staff to learn first. |
06-21-2016, 06:05 AM | #26 | |
Connoisseur
Posts: 52
Karma: 10
Join Date: Jan 2011
Device: Kobo GLO HD, KOBO AURA ONE
|
yc_richard,
Quote:
So it is impossible to make the same behaviour as in nickel, right? By the way, is there a way to turn off changing pages by swiping down or up? The problems is when I use your Frontlight adjusting it sometimes involves changing pages. I believe swipe left or right is enough to change pages. |
|
06-21-2016, 11:03 AM | #27 | |
Junior Member
Posts: 8
Karma: 130
Join Date: May 2016
Location: Lausanne
Device: Kobo Aura H2O, Kobo Auro One
|
Quote:
I encountered that as well, my guess is that sometime the swipe is not totally vertical so it detect as a horizontal swipe. Maybe narrowing the width of that area will help. try change DTAP_ZONE_CYLIGHTSWIPE.w to 0.1 or 0.0625. Last edited by yc_richard; 06-21-2016 at 11:06 AM. |
|
06-21-2016, 12:53 PM | #28 | |
Connoisseur
Posts: 52
Karma: 10
Join Date: Jan 2011
Device: Kobo GLO HD, KOBO AURA ONE
|
yc_richard,
Quote:
But I want to notice I've never experienced any unwanted page when I use Frontlight adjusting on nickel. That's why I believe it's a good idea to implement the same Frontlight adjusting mechanism like an nickel. DTAP_ZONE_CYLIGHTSWIPE.w = 0.0625 works better, but sometimes pages are changing anyway... Guess I've a wrong finger! But I'm wondering why in nickel it works perfectly? The same approach I guess. But there is one more thing. The foot info ("L:") doesn't update after Frontlight adjusting. To see the actual Frontlight level you have to change the page. Could you fix it please? Or does it also require more ground level changes? Last edited by The_Immortal; 06-21-2016 at 01:42 PM. |
|
06-22-2016, 06:44 PM | #29 |
Junior Member
Posts: 8
Karma: 130
Join Date: May 2016
Location: Lausanne
Device: Kobo Aura H2O, Kobo Auro One
|
I have updated the attachment in #20. This will be a final version from me.
|
06-27-2016, 05:07 PM | #30 | |
Member
Posts: 16
Karma: 10
Join Date: Mar 2016
Device: Kobo Aura H2O
|
Quote:
You just made my day my friend! |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Aura HD Front light not working | lukasz | Kobo Reader | 6 | 05-01-2015 03:01 AM |
Kobo H2O light gradations | marshap | Kobo Reader | 1 | 10-31-2014 06:15 PM |
Kindle PW front light... | freezer2k | Amazon Kindle | 52 | 09-09-2013 09:37 AM |
Front Light Idea | drgnbear | Sony Reader | 10 | 02-13-2007 06:27 PM |