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:
Qingping Hou
2012-11-17 13:41:26 -05:00
parent b7e62491bc
commit d3e0424122
5 changed files with 89 additions and 37 deletions

View File

@@ -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