hwhw/kindlepdfviewer — pull request #53 by houqp (2012-03-08 15:37:09+00:00)
Title: demo for 90 degree rotation

demo for issue #51

I use low level screen rotation command instead of the one provided by libraries. Because in this way we can adjust five-way key with current code.

But there is a issue, every time I use "lipc-send-event" to send a rotation request, the native system will refresh the screen after about 2 seconds. So I have to wait for 2 seconds before do self:goto(page) to make sure the reader overwrite the screen. This is quite annoying. :(

Is there other way we can rotate the screen without letting the native system refresh the screen? Or maybe I should use higher level rotation support from ebook format render libraries?

Any suggestions?