GestureDetector: Full refactor for almost-sane(TM) MT gesture handling (#9463)

Should hopefully make two-contact gestures *much* more reliable, among other things.

See the PR for all the details ;).
This commit is contained in:
NiLuJe
2022-09-04 02:38:27 +02:00
committed by GitHub
parent f2b9c5bdaf
commit 8e1bb9bafc
17 changed files with 887 additions and 451 deletions

View File

@@ -91,10 +91,6 @@ DTAP_ZONE_BOTTOM_RIGHT = {x = 7/8, y = 7/8, w = 1/8, h = 1/8}
DDOUBLE_TAP_ZONE_NEXT_CHAPTER = {x = 1/4, y = 0, w = 3/4, h = 1}
DDOUBLE_TAP_ZONE_PREV_CHAPTER = {x = 0, y = 0, w = 1/4, h = 1}
-- behaviour of swipes
DCHANGE_WEST_SWIPE_TO_EAST = false
DCHANGE_EAST_SWIPE_TO_WEST = false
-- 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