mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
add setTimeOut method in inputevent.lua
adapt all the state machine to use setTimeOut. Now supported gestures includes tap, double tap and hold.
This commit is contained in:
@@ -200,6 +200,7 @@ function UIManager:run()
|
||||
|
||||
-- delegate input_event to handler
|
||||
if input_event then
|
||||
DEBUG(input_event)
|
||||
self:sendEvent(input_event)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user