Commit Graph

10 Commits (7557958155308582204a54be618eea3b0f2fb865)

Author SHA1 Message Date
Qingping Hou c8d43cd33c add Input:eventAdjustHook(ev)
so we can adjust input event for KT on the fly.
the touch input event coordinates in KT ranges from 0-4095
instead of the screen size.
12 years ago
Qingping Hou c701248a8d rename Input:setTimeOut to Input:setTimtout
To keep consistent with Javascript setTimeout function...
12 years ago
Qingping Hou a7b2215249 bug fix in time.lua
a crazy typo
12 years ago
Qingping Hou 324f67412a fix bug in timer_callbacks scheduling & change variable name
watiEvent should stop checking timer_callbacks when execceds
wait timeout set by timeout_us.
12 years ago
Qingping Hou d3e0424122 add setTimeOut method in inputevent.lua
adapt all the state machine to use setTimeOut. Now supported gestures
includes tap, double tap and hold.
12 years ago
Qingping Hou a8e4c6ed73 add setTimeOut method in inputevet and use it in gesturedetector 12 years ago
Qingping Hou f06afb798e rewrite gesturedetector state machine 12 years ago
Qingping Hou 1fb10efc43 introduce state methods in gesturedetector 12 years ago
Qingping Hou 032a71cbc4 bug fix in single tap detection 12 years ago
Qingping Hou 3486ae7e09 first demo of gesture parsing 12 years ago