2
0
mirror of https://github.com/koreader/koreader synced 2024-11-10 01:10:34 +00:00
Commit Graph

19 Commits

Author SHA1 Message Date
chrox
92219a1f1e cleanup: expand tab to 4 spaces 2014-03-13 21:52:43 +08:00
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.
2014-03-10 17:42:40 +08:00
Giorgio Micotti
b4d5e70522 Fix flaky input support for kobo Aura. 2014-01-15 22:30:56 +01:00
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.
2013-12-24 19:29:00 +01:00
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.
2013-12-19 23:56:03 +01:00
Markismus
485ab8aa9d Signed-off-by: Markismus <zulde.zuldemans@gmail.com> 2013-12-08 14:37:03 +01:00
chrox
64f77c4210 refactoring handleTouchEv 2013-12-04 23:39:18 +08:00
Markismus
37b6f5e041 Signed-off-by: Markismus <zulde.zuldemans@gmail.com> 2013-12-04 16:17:53 +01:00
Markismus
6f5c0d86cd Signed-off-by: Markismus <zulde.zuldemans@gmail.com> 2013-12-04 15:57:03 +01:00
Markismus
b26b0729b9 Multitouch for Kobo Aura
Signed-off-by: Markismus <zulde.zuldemans@gmail.com>
2013-12-04 13:02:19 +01:00
HW
962c2a15d3 Merge remote-tracking branch 'upstream/master' into native-framebuffer 2013-11-26 16:05:23 +01:00
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.
2013-11-26 16:04:20 +01:00
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
2013-11-25 23:30:54 +08:00
Giorgio Micotti
b3ac4c97cb Fix input for kobo phoenix, second iteration. 2013-11-22 21:02:30 +01:00
Giorgio Micotti
9576201da5 Tentative fix for touch coordinates on phoenix. 2013-11-19 22:44:40 +01:00
chrox
f49f64bc15 add missing gettext and Menu module 2013-10-23 22:51:07 +08:00
chrox
4cfdce6105 fix several local calls of Math.round 2013-10-23 22:37:55 +08:00
HW
09cd5c4104 Make DEBUG a require()d local 2013-10-22 20:51:29 +02:00
HW
ef111b99c6 Refactored to use strictly locals 2013-10-18 22:38:07 +02:00