hwhw/kindlepdfviewer — pull request #534 by houqp (2012-11-04 03:28:58+00:00)
Title: rewrite emu mode input handling

I was trying to add touch simulation to emu mode today, but find out that it is not a easy task to map one single SDL event to multiple fake touch events. So I rewrote the part of the code and use fifofile to pipe all the fake events.

As a side effect, I notice that this implementation also makes automated testing possible, because we can simple write scripts that generate inputs to KPV automatically :)