hwhw/kindlepdfviewer — pull request #92 by houqp (2012-04-08 12:56:16+00:00)
Title: fix time out crash in screen saver

I modified `input.c` to return `nil` on select timeout added a input.waitForEvent() wrapper in `key.lua` which handles nil return and keep waiting for the events.

I am wondering what is the best timeout value for select call? Current default timeout seems like about 4 minutes.