Commit Graph

13 Commits (bfff863861f98341ba34eabc049dba9ffa6c827e)

Author SHA1 Message Date
chrox 7dbd437d1e add battery status pulling functions in KoboPowerD
Status files found at
http://www.mobileread.com/forums/showpost.php?p=1750642&postcount=9.
11 years ago
chrox 35538fe544 fix isCharging name conflict 11 years ago
chrox 4d1df962f5 cache battery level in BasePowerD
Since we need to pull it frequently but usually it doesn't change
that often.
11 years ago
chrox 92b62c907a refactoring frontlight device to more generic power device 11 years ago
chrox 819fece802 add DLANDSCAPE_CLOCKWISE_ROTATION option in defaults.lua 11 years ago
chrox 3ee2c758ec fix lost of frontlight intensity after exiting kobo
This should fix #243.
11 years ago
HW af902d1d79 fix for Kobo framebuffers: allow for rotation at framebuffer setup
the Kobo framebuffer comes up in landscape mode, that is, landscape
in the other direction as we do it when going into landscape mode.
we leave it this way, and rather allow for a rotation correction at
framebuffer setup.

this PR pulls the relevant changes from koreader-base and makes the
screen code aware of this additional rotation setting.

Kobo framebuffers should now work properly with the new framebuffer
FFI code. They can stay in 16bpp mode and don't change the current
framebuffer settings. They should thus properly interoperate with
the native framework on Kobos as well as sergeys KoboLauncher
(no garbled screen when returning)
11 years ago
HW 9d3c27117d remove redundancy: new framebuffer supports rotation, multi-bpp
We can get rid of shadow blitbuffers. Screen.bb is now fb.bb.
All bpp conversion is now done by the blitbuffer abstraction layer.
Rotation mechanism is adapted to this.
11 years ago
NiLuJe 3754ca1ec3 Crappy rework of the model detection on Kindle.
In case it wasn't obvious, I badly suck at lua :D.
11 years ago
Giorgio Micotti ffc27d4437 Fix DPI for nex Kobo Aura (phoenix). 11 years ago
HW 09cd5c4104 Make DEBUG a require()d local 11 years ago
HW 2154e7e852 Further refactoring
This should finish the work to make all globals to local variables.
That allows LuaJIT to properly compile things by interning the
references to the relevant parts (rather than looking up globals
all the time which stops a trace).
11 years ago
HW ef111b99c6 Refactored to use strictly locals 11 years ago