2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
Commit Graph

31 Commits

Author SHA1 Message Date
Qingping Hou
10d980ed87 rearranged source tree 2013-03-13 01:18:53 +08:00
chrox
f5b89744c5 feed evs in all slots to state machine 2013-03-06 20:59:48 +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
186712d401 add ev log in debug mode 2013-02-24 15:10:11 +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
dd7e26a986 fix crash in goint into screen saver 2013-02-02 16:37:48 +08:00
Qingping Hou
d4ff6f9291 first demo of screen rotate 2013-02-02 14:36:29 +08:00
Qingping Hou
55b2813b32 move fake event handling to ui.lua
inputevent.lua now only forwards events
2013-01-10 14:18:33 +08:00
eureka
424776b564 fix bug in eventhook for KT
* no return
* it is value that should be changed
2012-12-11 13:14:41 +08:00
Qingping Hou
b253a774f6 added TODO in Input:init in case I forget it in the future 2012-12-10 21:05:35 -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
eureka
bf86cf7a93 KT input device patch from eureka
* add KT detection
* remove unnacessary input device for KT
2012-12-10 18:52:22 -05:00
Qingping Hou
cc38d9e6fc add KT support 2012-12-08 01:06:47 -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
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
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
Qingping Hou
e000bde0be remove old comment in inputevent init 2012-11-05 10:50:15 -05:00
Qingping Hou
03595f8701 use os.remove instead of calling "rm" in os.execute 2012-11-05 10:27:21 -05:00
Qingping Hou
c96fc292f9 adapt inputevent.lua to new emu input implementaion 2012-11-04 11:19:31 +08:00
Qingping Hou
e07c1d147f add multi-touch event definitions from linux/input.h 2012-10-21 01:25:48 +08:00
Qingping Hou
2985d27569 rewrite device detection 2012-10-14 14:22:01 +08:00
Qingping Hou
ca46092f1b fix naming for fake events device, part 2 2012-06-24 10:13:24 +08:00
Qingping Hou
271701edfe screensaver and usbplugin events support 2012-06-14 01:52:08 +08:00
Qingping Hou
2d104d7792 adjust keycodes for k4 & add device.lua 2012-06-13 21:27:38 +08:00
Qingping Hou
b71ac38d3b exit KPV on Ctrl+C 2012-06-12 21:18:39 +08:00
Qingping Hou
e4160a9909 fix table index in sequenceToString method 2012-06-04 10:38:52 +08:00
HW
60ccd7441e fixed menu info displaying, replaced debug() by DEBUG()
the replacement of debug() was necessary to be able to access the lua library "debug" (for backtraces etc.)
2012-05-28 18:59:16 +02:00
HW
9e531fc2db file reorganisation
all lua frontend files are now in the frontend/ directory.
all old code is cleaned up.
2012-05-19 01:10:57 +02:00