mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
add customizable tap zones for tap forward/backward and config
This commit is contained in:
@@ -38,6 +38,15 @@ DSHOWOVERLAP = false
|
||||
-- default to false
|
||||
DSHOWHIDDENFILES = false
|
||||
|
||||
-- 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_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_CONFIG = {x = 0, y = 11/12, w = 1, h = 1/12}
|
||||
|
||||
-- koptreader config defaults
|
||||
DKOPTREADER_CONFIG_FONT_SIZE = 1.0 -- range from 0.1 to 3.0
|
||||
DKOPTREADER_CONFIG_TEXT_WRAP = 0 -- 1 = on, 0 = off
|
||||
|
||||
Reference in New Issue
Block a user