mirror of
https://github.com/koreader/koreader
synced 2024-11-11 19:11:14 +00:00
633d43b322
On devices where the event time is the uptime (time since boot), we don't need to trash it and use TimeVal:now() and lose precision. We can still use these times for relative delays and durations computations, which is mostly all we use them for. We just need a real clock time in GestureDetector for two timers (long-press and double tap), where we do the event time type detection on the first event, on all devices. |
||
---|---|---|
.. | ||
device.lua | ||
event_map.lua | ||
powerd.lua |