Android: Refactor Android -> evdev input translation layer (#1512)
Android: Refactor Android -> evdev input translation layer (#1512)

To hopefully deal better with quirks of both the Android API and ours ;p.

Includes a random drive-by micro-optimization to avoid duplicate timeval conversions.
koreader/koreader-base,koreader/koreader-base,koreader/koreader-base,NiLuJe/koreader-base,NiLuJe/koreader-base,NiLuJe/koreader-base,koreader/koreader-base,NiLuJe/koreader-base