Register Guidelines E-Books Today's Posts Search

Go Back   MobileRead Forums > E-Book Software > KOReader

Notices

Reply
 
Thread Tools Search this Thread
Old 03-21-2016, 09:35 PM   #16
djalma
Member
djalma doesn't litterdjalma doesn't litter
 
Posts: 14
Karma: 116
Join Date: Feb 2016
Device: Kobo Glo HD
Quote:
Originally Posted by Ken Maltby View Post
The thing is, Multi-touch is only supposed to work on the 6" Aura, not on the other Kobos. Someone should look into why/how it is working on the Glo HD. Perhaps it could lead to having it work on other devices.

Luck;
Ken
The only difference is new touch features in Glo HD firmware?¿? I had touch gestures like pinch to zoom in old sony prs T3 that is an infrared screen. I don't know why should not be supported in H2O...:

Quote:
Originally Posted by device.lua
local Kobo = Generic:new{
model = "Kobo",
isKobo = yes,
isTouchDevice = yes, -- all of them are

-- most Kobos have X/Y switched for the touch screen
touch_switch_xy = true,
-- most Kobos have also mirrored X coordinates
touch_mirrored_x = true,
-- enforce protrait mode on Kobos:
isAlwaysPortrait = yes,
}

-- TODO: hasKeys for some devices?

-- Kobo Touch:
local KoboTrilogy = Kobo:new{
model = "Kobo_trilogy",
touch_switch_xy = false,
hasKeys = yes,
}

-- Kobo Mini:
local KoboPixie = Kobo:new{
model = "Kobo_pixie",
display_dpi = 200,
-- bezel:
viewport = Geom:new{x=0, y=2, w=596, h=794},
}

-- Kobo Aura H2O:
local KoboDahlia = Kobo:new{
model = "Kobo_dahlia",
hasFrontlight = yes,
touch_phoenix_protocol = true,
display_dpi = 265,
-- the bezel covers the top 11 pixels:
viewport = Geom:new{x=0, y=11, w=1080, h=1429},
}

-- Kobo Aura HD:
local KoboDragon = Kobo:new{
model = "Kobo_dragon",
hasFrontlight = yes,
display_dpi = 265,
}

-- Kobo Glo:
local KoboKraken = Kobo:new{
model = "Kobo_kraken",
hasFrontlight = yes,
display_dpi = 212,
}

-- Kobo Aura:
local KoboPhoenix = Kobo:new{
model = "Kobo_phoenix",
hasFrontlight = yes,
touch_phoenix_protocol = true,
display_dpi = 212,
-- the bezel covers 12 pixels at the bottom:
viewport = Geom:new{x=0, y=0, w=758, h=1012},
}

-- Kobo Glo HD:
local KoboAlyssum = Kobo:new{
model = "Kobo_alyssum",
hasFrontlight = yes,
touch_phoenix_protocol = true,
touch_alyssum_protocol = true,
display_dpi = 300,
}
===============
===============
Quote:
Originally Posted by jonch919 View Post
Should I raise the question at Github instead? Maybe ask for way to use one-finger swipe instead of two-finger swipe for frontlight?
Quote:
Originally Posted by Ken Maltby View Post
It looks like the issue has been added to the next stable release milestone. The stable releases have been dated in April and November.

Luck;
Ken
Where? I can't see that in github... Exist some issues related to device already suported but I can't see for support "new devices"(for new i mean: not supported rightnow :P )
#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.
djalma is offline   Reply With Quote
Old 03-21-2016, 10:12 PM   #17
Ken Maltby
Wizard
Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.Ken Maltby ought to be getting tired of karma fortunes by now.
 
Ken Maltby's Avatar
 
Posts: 4,465
Karma: 6900052
Join Date: Dec 2009
Location: The Heart of Texas
Device: Boox Note2, AuraHD, PDA,
Quote:
Originally Posted by djalma View Post
Where? I can't see that in github... Exist some issues related to device already suported but I can't see for support "new devices"(for new i mean: not supported rightnow :P )
#1761 Maybe?¿? but not comments about change light with 1 finger or something like that...

Regards.
The link at the bottom of post #10 of this thread. You should see where it was added to the milestones.
Ken Maltby is offline   Reply With Quote
Advert
Old 03-21-2016, 10:39 PM   #18
djalma
Member
djalma doesn't litterdjalma doesn't litter
 
Posts: 14
Karma: 116
Join Date: Feb 2016
Device: Kobo Glo HD
Quote:
Originally Posted by Ken Maltby View Post
The link at the bottom of post #10 of this thread. You should see where it was added to the milestones.
Amm ok, I somehow skipped @habeck messages. I was always reading about slide bars like:
https://i.ytimg.com/vi/OAhWhunSU94/maxresdefault.jpg


but not about gestures. Somehow I was blind :/

Regards.
djalma is offline   Reply With Quote
Old 03-22-2016, 10:53 AM   #19
jonch919
Member
jonch919 began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Mar 2016
Device: Kobo Aura H2O
Quote:
Originally Posted by djalma View Post
#1761 Maybe?¿? but not comments about change light with 1 finger or something like that...

Regards.
I see you are actually right, there is no specific question about "one finger swipe" on Github.
I will add that question in the Github #1761 anf see what can be done.
jonch919 is offline   Reply With Quote
Old 06-19-2016, 01:26 PM   #20
yc_richard
Junior Member
yc_richard doesn't litteryc_richard doesn't litter
 
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.
yc_richard is offline   Reply With Quote
Advert
Old 06-20-2016, 05:11 AM   #21
The_Immortal
Connoisseur
The_Immortal began at the beginning.
 
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.
The_Immortal is offline   Reply With Quote
Old 06-20-2016, 02:03 PM   #22
The_Immortal
Connoisseur
The_Immortal began at the beginning.
 
Posts: 52
Karma: 10
Join Date: Jan 2011
Device: Kobo GLO HD, KOBO AURA ONE
yc_richard,
Quote:
Originally Posted by yc_richard View Post
1. Frontlight can be toggled on and off by taping the bottom left corner.
Works great, thank you!

Quote:
Originally Posted by yc_richard View Post
Frontlight level is shown in the footer
Works, but if you change Frontlight level you need to retap the footer to see actual Frontlight level.

Quote:
Originally Posted by yc_richard View Post
And frontlight level can be adjusted by sliding up or down on the left edge of the screen
Unfortunately, it doesn't work for me How can I fix it? I guess the problem refers to the following (cylight.lua):
Quote:
local DTAP_ZONE_CYLIGHTSWIPE = {x = 0, y = 0.125, w = 0.125, h = 0.75 }
Could someone provide the proper values for Glo HD?

Thank you!

Last edited by The_Immortal; 06-21-2016 at 04:24 AM.
The_Immortal is offline   Reply With Quote
Old 06-20-2016, 03:44 PM   #23
Alan_S
Evangelist
Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.Alan_S ought to be getting tired of karma fortunes by now.
 
Alan_S's Avatar
 
Posts: 440
Karma: 1084584
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
Quote:
Originally Posted by yc_richard View Post
I have made a mod to the latest koreader nightly v2015.11-431. Tested on my Kobo aura H2O.
Why not you join koreader dev team?
Alan_S is offline   Reply With Quote
Old 06-20-2016, 05:51 PM   #24
yc_richard
Junior Member
yc_richard doesn't litteryc_richard doesn't litter
 
Posts: 8
Karma: 130
Join Date: May 2016
Location: Lausanne
Device: Kobo Aura H2O, Kobo Auro One
Quote:
Originally Posted by The_Immortal View Post
Unfortunately, it doesn't work for me How can I fix it? I guess the problem refers to the following (cylight.lua):
Could someone provide the proper values for Glo HD?

Thank you!
DTAP_ZONE_CYLIGHTSWIPE shoudn't matter, it is just the area of which it looks for swipe gesture. feel free to change it yourself.

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.
yc_richard is offline   Reply With Quote
Old 06-20-2016, 06:00 PM   #25
yc_richard
Junior Member
yc_richard doesn't litteryc_richard doesn't litter
 
Posts: 8
Karma: 130
Join Date: May 2016
Location: Lausanne
Device: Kobo Aura H2O, Kobo Auro One
Quote:
Originally Posted by Alan_S View Post
Why not you join koreader dev team?
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.
yc_richard is offline   Reply With Quote
Old 06-21-2016, 06:05 AM   #26
The_Immortal
Connoisseur
The_Immortal began at the beginning.
 
Posts: 52
Karma: 10
Join Date: Jan 2011
Device: Kobo GLO HD, KOBO AURA ONE
yc_richard,
Quote:
Originally Posted by yc_richard View Post
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.
Oh, got it now! Thank you!
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.
The_Immortal is offline   Reply With Quote
Old 06-21-2016, 11:03 AM   #27
yc_richard
Junior Member
yc_richard doesn't litteryc_richard doesn't litter
 
Posts: 8
Karma: 130
Join Date: May 2016
Location: Lausanne
Device: Kobo Aura H2O, Kobo Auro One
Quote:
Originally Posted by The_Immortal View Post
yc_richard
So it is impossible to make the same behaviour as in nickel, right?
I think it is possible, but requires more ground level changes. Frontends tweaking is not enough at all.

Quote:
Originally Posted by The_Immortal View Post
yc_richard it sometimes involves changing pages. I believe swipe left or right is enough to change pages.
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.
yc_richard is offline   Reply With Quote
Old 06-21-2016, 12:53 PM   #28
The_Immortal
Connoisseur
The_Immortal began at the beginning.
 
Posts: 52
Karma: 10
Join Date: Jan 2011
Device: Kobo GLO HD, KOBO AURA ONE
yc_richard,
Quote:
Originally Posted by yc_richard View Post
my guess is that sometime the swipe is not totally vertical so it detect as a horizontal swipe.
Oh, I was wrong and believed that there is sliding up or down to change a page Now I understand why two fingers are required by original KR firmware.
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.

Quote:
Originally Posted by yc_richard View Post
try change DTAP_ZONE_CYLIGHTSWIPE.w to 0.1 or 0.0625.
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.
The_Immortal is offline   Reply With Quote
Old 06-22-2016, 06:44 PM   #29
yc_richard
Junior Member
yc_richard doesn't litteryc_richard doesn't litter
 
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.
yc_richard is offline   Reply With Quote
Old 06-27-2016, 05:07 PM   #30
jonch919
Member
jonch919 began at the beginning.
 
Posts: 16
Karma: 10
Join Date: Mar 2016
Device: Kobo Aura H2O
Quote:
Originally Posted by yc_richard View Post
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:
Attachment 149675
This is awesome!.. many thanks for this mod, works perfect and adds a ton of functionality and ease of use.
You just made my day my friend!
jonch919 is offline   Reply With Quote
Reply


Forum Jump

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


All times are GMT -4. The time now is 11:45 AM.


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