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 03-25-2019, 03:32 PM   #1
Pavati
Member
Pavati began at the beginning.
 
Posts: 13
Karma: 10
Join Date: Aug 2016
Device: Pocketbook Touch Lux 3, Kindle Paperwhite 3
Two separate 'tap forward' zones?

I'm using KoReader on Pocketbook TL3.
Is it possible to create two separate tap zones for "tap 1 page forward" on the left and right side of screen and invoke menu by tapping in the center? Like it is in Pocketbook?

Because some of my books don't work with KoReader (books from paid service, probably something with encryption), so I have to read them on default PB reader. When I switch between both readers I often get their tap zones mixed up and for example tap in the center for menu while in KoReader.

The zones I would like to achieve look like this in PB:


TIA!

Last edited by Pavati; 03-25-2019 at 03:38 PM.
Pavati is offline   Reply With Quote
Old 03-25-2019, 03:58 PM   #2
Alan_S
Addict
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: 375
Karma: 1066860
Join Date: Aug 2007
Location: Sisak, Croatia
Device: Kobo Aura H2O, Kobo Aura ONE
Well, you can have one big zone for forward taking middle part and for backward, you can set lower part, but it would go across whole screen (not in 3 and 2 separate zones).

But, parts you don't touch, want be important to you.

To do that, you need to edit defaults.lua (rename it afterward to defaults.persistent.lua, so it doesn't get overwritten) in kobo root directory.

Code:
-- customizable tap zones(rectangles)
-- x: x coordinate of top left corner in proportion of screen width
-- y: y coordinate of top left corner in proportion of screen height
-- w: width of tap zone in proportion of screen width
-- h: height of tap zone in proportion of screen height
DTAP_ZONE_MENU = {x = 1/8, y = 0, w = 3/4, h = 1/12}
DTAP_ZONE_CONFIG = {x = 0, y = 0, w = 0, h = 0}
DTAP_ZONE_MINIBAR = {x = 0.1, y = 0.97, w = 0.9, h = 0.03}
DTAP_ZONE_FORWARD = {x = 1/12, y = 0, w = 11/12, h = 1}
DTAP_ZONE_BACKWARD = {x = 0, y = 0, w = 1/12, h = 1}
Edit what is red to suite your needs. As you can see (this is how I set it for myself) you also use decimal numbers, not only fractions.

And for menu, it is either swipe down from top of screen, or can be some other gesture (now we have gesture manager).

Anyway, I think you can't get exactly as you want, but you can get close enough.

Last edited by Alan_S; 03-25-2019 at 04:00 PM.
Alan_S is offline   Reply With Quote
Advert
Old 03-25-2019, 04:00 PM   #3
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 3,704
Karma: 9002933
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, iPad 9.7, iPad 12.9
Create a copy of defaults.lua and name it defaults.persistent.lua

Then modify the tap zones in defaults.persistent.lua. I think this gives the zones what you want. I use something similar on my Kindle except I don't have a tap zone for previous page at all. I use swipe for that. Majority of the touch area is set to forward on mine.
Code:
-- customizable tap zones(rectangles)
-- x: x coordinate of top left corner in proportion of screen width
-- y: y coordinate of top left corner in proportion of screen height
-- w: width of tap zone in proportion of screen width
-- h: height of tap zone in proportion of screen height
DTAP_ZONE_MENU = {x = 1/3, y = 0, w = 1/3, h = 7/8}
DTAP_ZONE_CONFIG = {x = 1/3, y = 7/8, w = 1/3, h = 1/8}
DTAP_ZONE_MINIBAR = {x = 1/3, y = 31/32, w = 1/3, h = 1/32}
DTAP_ZONE_FORWARD = {x = 0, y = 1/8, w = 1, h = 3/4}
DTAP_ZONE_BACKWARD = {x = 0, y = 7/8, w = 1, h = 1/8}
DTAP_ZONE_BOOKMARK = {x = 7/8, y = 0, w = 1/8, h = 1/8}
DTAP_ZONE_FLIPPING = {x = 0, y = 0, w = 1/8, h = 1/8}
DDOUBLE_TAP_ZONE_NEXT_CHAPTER = {x = 6/8, y = 0, w = 2/8, h = 2/8}
DDOUBLE_TAP_ZONE_PREV_CHAPTER = {x = 0, y = 0, w = 2/8, h = 2/8}
ilovejedd is offline   Reply With Quote
Old 03-25-2019, 04:09 PM   #4
ilovejedd
hopeless n00b
ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.ilovejedd ought to be getting tired of karma fortunes by now.
 
ilovejedd's Avatar
 
Posts: 3,704
Karma: 9002933
Join Date: Jan 2009
Location: in the middle of nowhere
Device: PW4, PW3, iPad 9.7, iPad 12.9
Quote:
Originally Posted by Alan_S View Post
Well, you can have one big zone for forward taking middle part and for backward, you can set lower part, but it would go across whole screen (not in 3 and 2 separate zones).
You can if you overlap zones. I have width set to 1 for DTAP_ZONE_FORWARD on mine with menu/config zones superimposed in the middle. Works okay on my Kindle (left and right taps go forward, middle tap brings up the menu).
ilovejedd is offline   Reply With Quote
Old 03-27-2019, 02:51 PM   #5
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,331
Karma: 6272771
Join Date: Dec 2009
Location: The Heart of Texas
Device: JetBook Lite (retired), AuraHD, PDA,
Perhaps it is time to consider user developed "Templates" to set KOReader's UI to match other existing interfaces. I can see where someone might get familiar with a device's stock UI, and then only be comfortable if things work, on that device, in the manner they are used to. Then there those of us who may use KOReader on more than one device, and would like KOReader to function (to the extent possible) the same, no matter which device you are using it on.

As configurable as KOReader is, it should be possible to match the UI for any shared functions, with the use of such templates.

Luck;
Ken

Last edited by Ken Maltby; 03-27-2019 at 03:03 PM.
Ken Maltby is offline   Reply With Quote
Advert
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Custom tap page turn zones ReaLx3m Kobo Reader 8 10-20-2017 07:41 AM
separate cover/separate OPF u238110 Library Management 11 03-05-2015 07:38 PM
Changing Tap Zones MSch Kindle Developer's Corner 6 03-03-2013 05:14 PM
Separate author sort settings for separate libraries? crackshot91 Library Management 1 09-09-2012 11:17 PM
Time Zones Tinks Feedback 9 01-01-2011 08:31 PM


All times are GMT -4. The time now is 12:15 AM.


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