Commit Graph

34 Commits (819467df0b3b69fc37e97c673a2093ffb4c350e6)

Author SHA1 Message Date
chrox 819467df0b bugfix: hack swipe to unlock after going out of screensaver
by feeding a fake tap at the bottom of the screen
11 years ago
Qingping Hou bab5192a86 fix: add empty Input.modifiers for KT from eureka 11 years ago
Qingping Hou 20447e820b fix: properly initilize key_map for KT 11 years ago
Qingping Hou 10d980ed87 rearranged source tree 11 years ago
chrox f5b89744c5 feed evs in all slots to state machine 11 years ago
Qingping Hou d4e2cb708e record multiple slots for multi-touch input
for now, only slot 0 is parsed, the rest are ignored.
11 years ago
Qingping Hou 186712d401 add ev log in debug mode 11 years ago
Qingping Hou a655219eba move adjustGesCoordinate from Screen to GestureDetector
also adjust swipe direction according to screen view mode
11 years ago
Qingping Hou dd7e26a986 fix crash in goint into screen saver 11 years ago
Qingping Hou d4ff6f9291 first demo of screen rotate 11 years ago
Qingping Hou 55b2813b32 move fake event handling to ui.lua
inputevent.lua now only forwards events
12 years ago
eureka 424776b564 fix bug in eventhook for KT
* no return
* it is value that should be changed
12 years ago
Qingping Hou b253a774f6 added TODO in Input:init in case I forget it in the future 12 years ago
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
eureka bf86cf7a93 KT input device patch from eureka
* add KT detection
* remove unnacessary input device for KT
12 years ago
Qingping Hou cc38d9e6fc add KT support 12 years ago
Qingping Hou c701248a8d rename Input:setTimeOut to Input:setTimtout
To keep consistent with Javascript setTimeout function...
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 032a71cbc4 bug fix in single tap detection 12 years ago
Qingping Hou 3486ae7e09 first demo of gesture parsing 12 years ago
Qingping Hou e000bde0be remove old comment in inputevent init 12 years ago
Qingping Hou 03595f8701 use os.remove instead of calling "rm" in os.execute 12 years ago
Qingping Hou c96fc292f9 adapt inputevent.lua to new emu input implementaion 12 years ago
Qingping Hou e07c1d147f add multi-touch event definitions from linux/input.h 12 years ago
Qingping Hou 2985d27569 rewrite device detection 12 years ago
Qingping Hou ca46092f1b fix naming for fake events device, part 2 12 years ago
Qingping Hou 271701edfe screensaver and usbplugin events support 12 years ago
Qingping Hou 2d104d7792 adjust keycodes for k4 & add device.lua 12 years ago
Qingping Hou b71ac38d3b exit KPV on Ctrl+C 12 years ago
Qingping Hou e4160a9909 fix table index in sequenceToString method 12 years ago
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.)
12 years ago
HW 9e531fc2db file reorganisation
all lua frontend files are now in the frontend/ directory.
all old code is cleaned up.
12 years ago