Commit Graph

23 Commits (ef84aff1dbd3bc5ef0e85af9b150732050db5ec1)

Author SHA1 Message Date
chrox ef84aff1db make ffi/util module local 10 years ago
Markismus 55cb11f3f1 Update input.lua 10 years ago
chrox 0a4a092d12 initial commit for android port of koreader
This PR just shows how far we have went to
the android port. There is still a few steps before a running
android port.
10 years ago
chrox d33710b6b5 remove unnecessary gettext translation 10 years ago
chrox 92219a1f1e cleanup: expand tab to 4 spaces 10 years ago
chrox 21b0b24b14 fix input timer queue
if new timer has a timeout later than a timer in queue, the
new timer will be discarded and never be pushed into timer queue.
This is fixed by pushing new timer without timeout checking
and then sorting the queue according to timer timeouts.

This should fix #520 and #495.
10 years ago
Giorgio Micotti b4d5e70522 Fix flaky input support for kobo Aura. 11 years ago
Markismus 730b1880de Update input.lua
When the the power_off switch is pulled a empty SYN_REPORT is generated and koreader crashed on a DEBUG line.

The DEBUG lines now generate identically spaced output, which makes it easier to read by eye.
11 years ago
Markismus 5e7eed3a17 I was not able to generate the gestures "pinch" and "expand" on Kobo Aura.
While debugging ```GestureDetector:panState(tev)```  I saw that the TRACK ID never had -1 values .
So back to debugging ```input.lua```.

Now the Kobo Aura can pinch and expand.
11 years ago
Markismus 485ab8aa9d Signed-off-by: Markismus <zulde.zuldemans@gmail.com> 11 years ago
chrox 64f77c4210 refactoring handleTouchEv 11 years ago
Markismus 37b6f5e041 Signed-off-by: Markismus <zulde.zuldemans@gmail.com> 11 years ago
Markismus 6f5c0d86cd Signed-off-by: Markismus <zulde.zuldemans@gmail.com> 11 years ago
Markismus b26b0729b9 Multitouch for Kobo Aura
Signed-off-by: Markismus <zulde.zuldemans@gmail.com>
11 years ago
HW 962c2a15d3 Merge remote-tracking branch 'upstream/master' into native-framebuffer 11 years ago
HW 11bb9009fa replace Screen.width/Screen.height with accessor methods
Screen.width and Screen.height are now gone, use the methods
getWidth() and getHeight() to get the relevant data. They will
take blitbuffer/framebuffer rotation into account.
11 years ago
chrox 88c2307c14 fix kindle paperwhite2 support
reported at http://www.mobileread.com/forums/showpost.php?p=2696481&postcount=316
tested at http://www.hi-pda.com/forum/redirect.php?goto=findpost&ptid=1078988&pid=23393929
11 years ago
Giorgio Micotti b3ac4c97cb Fix input for kobo phoenix, second iteration. 11 years ago
Giorgio Micotti 9576201da5 Tentative fix for touch coordinates on phoenix. 11 years ago
chrox f49f64bc15 add missing gettext and Menu module 11 years ago
chrox 4cfdce6105 fix several local calls of Math.round 11 years ago
HW 09cd5c4104 Make DEBUG a require()d local 11 years ago
HW ef111b99c6 Refactored to use strictly locals 11 years ago