I'm confused about where/if/how B&N is saving the color settings.
It may just be that they have it in some B&N user code that I've disabled.
There are many strange things about how B&N did their lights.
Onyx did their lights so that the cool (i.e. bluish) LED is a bit too cool to read by alone.
That's why normally you mix in some warm. It gives you a bit of latitude.
OTOH, the Glow 21 uses the cool LED all by itself as the "normal" light.
If you want things warm you can mix in the warm LED which in "normal" is completely off.
Also, practically every device on the planet uses the same IC to drive ereader frontlights and LCD backlights: the venerable TI LM3630A. It uses a range of 8 bits, 0 to 255. So normal people keep the settings on that range, 0 to 255. B&N went with a range of 0 to 100. This just loses you precision. A user never sees these numbers so it's not for esthetics.
So the challenge with making my Lights app is to make it all compatible with all the silly things that B&N did. I can control the actual hardware exactly, but it doesn't do me any good if when the device is powered off/on the stock software makes a mockery of my settings.
So, here you go. Right now I have it just control the brightness. I could add a slider for the color but right now you'd have to readjust it every time you turned your device back on.
I analysed the B&N transfer function and I think that they had someone type a lookup table after the office Xmas party. That's the blue line. I'm orange.
Just rename the .zip file .apk it's not actually zipped.
|