View Single Post
01-16-2018, 10:06 PM   #4
crimsonsnow
Enthusiast

Posts: 33
Karma: 10
Join Date: Jan 2014
Device: Yotaphone 2, Kobo Aura, FBReader
Quote:
 Originally Posted by Ken Maltby From /.adds/koreader/defaults.lua: -- 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/8} DTAP_ZONE_CONFIG = {x = 1/8, y = 7/8, w = 3/4, h = 1/8} DTAP_ZONE_MINIBAR = {x = 0, y = 15/16, w = 1, h = 1/16} DTAP_ZONE_FORWARD = {x = 1/4, y = 0, w = 3/4, h = 1} DTAP_ZONE_BACKWARD = {x = 0, y = 0, w = 1/4, h = 1} 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} Luck; Ken
Thank you for this! I got the rough idea for which variable to edit, but this exact list is definitely better to check what to change and to what.

Is the order of the setting affect the tap zone? (As in if we set the parameters and a zone belong to more than one command, does the last one override the previous one?

For an extreme example, if we set
DTAP_ZONE_FORWARD = {x = 1/4, y = 0, w = 3/4, h = 1}
DTAP_ZONE_BACKWARD = {x = 1/4, y = 0, w = 3/4, h = 1}
Do we end up not having a next-page area or previous-page area? If I infer from the original setting, the top one wins?
)

Quote:
 Originally Posted by Alan_S Also, just to mention, it may be easier for someone (it is to me), you don't need to use 1/8, 1/16, 15/16 etc, you could use decimal values, like 0.9, 0.95, 0.1 etc. Anyway, koreader really enables you to set your tap zones the way you like them to be. I'm pretty happy with my setup. Big area for next page, and small border areas for everything else, so basically I don't need to "aim" much for next page, only for other functions, which makes it easy, as next page is most common function, all others are rare and it is not big problem to pay a bit more attention.
Thank you! I can work with both, but I think fraction works better for me.

The ultimate ease in deciding the tap zones is both very helpful and overwhelming, you can tinker even for the 1/nth part of the screen (I guess if you have larger screen you can set area smaller than 1/16), but if you're not careful the possibility to mess something up is higher too.

Last edited by crimsonsnow; 01-16-2018 at 10:11 PM.