chrox
|
152782b412
|
add two_finger_pan gesture
|
2013-03-16 22:48:35 +08:00 |
|
Qingping Hou
|
10d980ed87
|
rearranged source tree
|
2013-03-13 01:18:53 +08:00 |
|
chrox
|
617613e763
|
bugfix: adjust coordinates of pan gesture
|
2013-03-12 11:27:41 +08:00 |
|
chrox
|
da2a3ff753
|
detect pan release gesture
|
2013-03-12 11:26:11 +08:00 |
|
chrox
|
9e5a036c6e
|
cleanup: remove unnecessary debug info
|
2013-03-10 13:20:25 +08:00 |
|
chrox
|
5c2d9bb1ad
|
screenshot with finger touch at the two corners of the diagonal
|
2013-03-06 22:36:51 +08:00 |
|
chrox
|
c3d7d2df47
|
add two-finger tap gesture
|
2013-03-06 21:04:33 +08:00 |
|
chrox
|
fcfe82f4a5
|
add direction and distance in pan/swipe gesture
|
2013-03-03 22:18:38 +08:00 |
|
chrox
|
94a69b87a7
|
add gesture emitting rate in GestureRange
|
2013-03-02 23:11:23 +08:00 |
|
chrox
|
14bbcde422
|
add multiple slots in gesture detector
So that gesture detecting in one slot won't block gestures in the other slots.
|
2013-03-02 22:21:18 +08:00 |
|
Qingping Hou
|
d4e2cb708e
|
record multiple slots for multi-touch input
for now, only slot 0 is parsed, the rest are ignored.
|
2013-02-27 16:04:28 +08:00 |
|
Qingping Hou
|
712f964d43
|
fix whitespaces
|
2013-02-25 23:32:46 -05:00 |
|
Qingping Hou
|
331ec3a6ce
|
fix: properly record last_tev in gesturedetector
|
2013-02-25 03:06:59 +08:00 |
|
Qingping Hou
|
a655219eba
|
move adjustGesCoordinate from Screen to GestureDetector
also adjust swipe direction according to screen view mode
|
2013-02-19 11:13:24 +08:00 |
|
Qingping Hou
|
ddc7d86efe
|
change ev argument name to tev in gesturedetector.lua
So people won't messed it up with ev in inputevet.lua
|
2013-02-06 13:39:06 +08:00 |
|
Qingping Hou
|
d4ff6f9291
|
first demo of screen rotate
|
2013-02-02 14:36:29 +08:00 |
|
Qingping Hou
|
c5fc851bb7
|
bug fix for swipe gesture detection (nil x or y)
a complete_last_ev var is used to make sure the first argument
to isSwipe() method has no nil x or y entry.
|
2012-12-30 01:01:44 -05:00 |
|
Qingping Hou
|
0f51f34ff6
|
add swipe event detection in gesturedetector.lua
|
2012-12-30 00:45:21 -05:00 |
|
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.
|
2012-12-10 20:58:16 -05:00 |
|
Qingping Hou
|
c701248a8d
|
rename Input:setTimeOut to Input:setTimtout
To keep consistent with Javascript setTimeout function...
|
2012-11-25 15:57:29 +08:00 |
|
Qingping Hou
|
a7b2215249
|
bug fix in time.lua
a crazy typo
|
2012-11-23 01:04:56 -05:00 |
|
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.
|
2012-11-17 13:51:34 -05:00 |
|
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.
|
2012-11-17 13:41:26 -05:00 |
|
Qingping Hou
|
a8e4c6ed73
|
add setTimeOut method in inputevet and use it in gesturedetector
|
2012-11-16 18:55:13 -05:00 |
|
Qingping Hou
|
f06afb798e
|
rewrite gesturedetector state machine
|
2012-11-15 19:58:01 -05:00 |
|
Qingping Hou
|
1fb10efc43
|
introduce state methods in gesturedetector
|
2012-11-13 01:12:01 -05:00 |
|
Qingping Hou
|
032a71cbc4
|
bug fix in single tap detection
|
2012-11-11 14:30:35 +08:00 |
|
Qingping Hou
|
3486ae7e09
|
first demo of gesture parsing
|
2012-11-11 14:30:35 +08:00 |
|