I don't see that we would have set an upper limit. In fact, in the "+" direction, the configuration value for "gamma" is increased. Doesn't make much sense, because geekmaster is right about that it should be the other way around. However, I think it might be a case of e-ink speciality that the highest pixel value means the darkest shade of gray.
To put things short: on "vol+" key, gamma is multiplied by 1.25, on "vol-" key it is multiplied by 0.8. So just count "+" presses and then replace the value you have already found in unireader.lua by 1.25^n(presses). Or just try some values without bothering for math.
This operation is done before mapping 8bpp grayscale to 4bpp grayscale, so the effect makes at least some sense.
This could be a configurable global setting in some future version of this software.
|