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}
…becomes…
Code:
DTAP_ZONE_BOTTOM_RIGHT = { x = 15/16, y = 15/16, w = 1/16, h = 1/16}
…and, looking at how they’re used, it looks like I could also use floating point percentages, such as:
Code:
DTAP_ZONE_BOTTOM_RIGHT = { x = 0.9, y = 0.9, w = 0.1, h = 0.1}
Am I reading the code correctly?