![]() |
#1 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,853
Karma: 13432974
Join Date: Nov 2010
Device: Kobo Clara HD, iPad Pro 10", iPhone 15 Pro, Boox Note Max
|
Reducing corner tap zones
After multiple failed attempts to look up words near the corner of the screen I want to reduce the size of the corner gesture tap zones, and would like to confirm my understanding prior to messing with the advanced options.
It seems that the DTAP_ZONE_[TOP/BOTTOM]_[LEFT/RIGHT] structures are the ones that I want to edit, and it also seems that the x,y,w,h variables are what I want to change, with the values being a fractional ratio of the width, so to make them half the size I’d change 1/8 to 1/16, or more specifically: Code:
DTAP_ZONE_BOTTOM_RIGHT = { x = 7/8, y = 7/8, w = 1/8, h = 1/8} Code:
DTAP_ZONE_BOTTOM_RIGHT = { x = 15/16, y = 15/16, w = 1/16, h = 1/16} Code:
DTAP_ZONE_BOTTOM_RIGHT = { x = 0.9, y = 0.9, w = 0.1, h = 0.1} |
![]() |
![]() |
![]() |
#2 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,500
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
I think this is correct.
If you leave this as it is, you will also have a dead zone between 7/8 and 15/16 in each direction. Don’t know if you are OK with that. If not, you should also “stretch” the bottom/top tap zones. In KOReader’s User Guide, page seven you can find a tapzone map. Might get handy at times like this: http://koreader.rocks/koreader-user-guide.pdf |
![]() |
![]() |
![]() |
#3 | |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,853
Karma: 13432974
Join Date: Nov 2010
Device: Kobo Clara HD, iPad Pro 10", iPhone 15 Pro, Boox Note Max
|
Quote:
I did mean to edit all four corners, just used the one more complex corner for my example. |
|
![]() |
![]() |
![]() |
#4 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,853
Karma: 13432974
Join Date: Nov 2010
Device: Kobo Clara HD, iPad Pro 10", iPhone 15 Pro, Boox Note Max
|
Did you mean if I only edit h and w, but not x and y? To leave a safe buffer?
|
![]() |
![]() |
![]() |
#5 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,500
Karma: 5000046
Join Date: Feb 2012
Location: Cape Canaveral
Device: Kindle Scribe
|
No, I mean if you only shrink corners and do not resize bottom/top tap zone parameters, then there will be zones around corners that are not assigned to neither corners nor bottom/top tap zones. Check if you are OK with that (for text selection that might be good actually, but I haven’t tested such config yet)
|
![]() |
![]() |
![]() |
#6 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,853
Karma: 13432974
Join Date: Nov 2010
Device: Kobo Clara HD, iPad Pro 10", iPhone 15 Pro, Boox Note Max
|
Ah, OK -- I get it now. I think I'd be OK with that. I think I'll experiment a bit on a Linux build where it's easier and faster to restart over and over before committing to doing it on my Kobo.
![]() |
![]() |
![]() |
![]() |
#7 |
Fanatic
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 523
Karma: 64554
Join Date: Aug 2013
Device: Kobo Glo, GloHD
|
What I usually do about the problem of corner selections is to assign a gesture to toggle the corner shortcuts on/off.
|
![]() |
![]() |
![]() |
#8 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,853
Karma: 13432974
Join Date: Nov 2010
Device: Kobo Clara HD, iPad Pro 10", iPhone 15 Pro, Boox Note Max
|
That’s an interesting, and possibly easier, solution.
|
![]() |
![]() |
![]() |
#9 |
(gtfo/freak)
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 115
Karma: 2288752
Join Date: Nov 2019
Device: Likebook Alita
|
These are my tap zone settings to shrink the corner zones in half (or more like, a quarter of the area). Now I no longe have trouble looking up words or highlighting near corners.
* DTAP_ZONE_BOTTOM_LEFT = * h = 0.075 * w = 0.075 * x = 0 * y = 0.925 * DTAP_ZONE_BOTTOM_RIGHT = * h = 0.075 * w = 0.075 * x = 0.925 * y = 0.925 * DTAP_ZONE_TOP_LEFT = * h = 0.075 * w = 0.075 * x = 0 * y = 0 * DTAP_ZONE_TOP_RIGHT = * h = 0.075 * w = 0.075 * x = 0.925 * y = 0 |
![]() |
![]() |
![]() |
#10 |
Wizard
![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Posts: 1,853
Karma: 13432974
Join Date: Nov 2010
Device: Kobo Clara HD, iPad Pro 10", iPhone 15 Pro, Boox Note Max
|
Thanks. I got busy and didn’t experiment with them since I posted. I might just try your numbers.
![]() |
![]() |
![]() |
![]() |
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
Reverse tap zones in web reader | NeilN1 | Server | 5 | 05-24-2021 09:56 AM |
Overlapping tap zones | 3m2vinatohr04 | KOReader | 6 | 04-18-2021 02:45 PM |
Fbreader ios vs android tap zones | peaceridge | Reading and Management | 4 | 11-29-2020 12:43 PM |
Two separate 'tap forward' zones? | Pavati | KOReader | 10 | 07-19-2020 06:55 AM |
Changing Tap Zones | MSch | Kindle Developer's Corner | 6 | 03-03-2013 05:14 PM |