Quote:
Originally Posted by The_Immortal
Unfortunately, it doesn't work for me  How can I fix it? I guess the problem refers to the following (cylight.lua):
Could someone provide the proper values for Glo HD?
Thank you!
|
DTAP_ZONE_CYLIGHTSWIPE shoudn't matter, it is just the area of which it looks for swipe gesture. feel free to change it yourself.
Actually the sliding up or down dose not behave exactly the same as nickel. it will not refresh the frontlight level as you slide, but only after finishing the gesture.
So depend on the distance of the gesture, it will increase or decrease a corresponding among of light. The max is 10% per gesture. (I took the code directly from two-finger swipe). Full distance is between 12.5% of screen height from top to 87.5% of screen height fron top (in my DTAP_ZONE_CYLIGHTSWIPE) and gives the 10% of frontlight change.
Plus, I guess there is a listening time limit for koreader's swipe event, which means that you have to slide it fast!!! slowly motion does not work at all.