Commit Graph

40 Commits (0a4a092d12372f1db72a1f971174c4535869f510)

Author SHA1 Message Date
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 71eda7a0ca busted test for frontend 10 years ago
chrox 92219a1f1e cleanup: expand tab to 4 spaces 10 years ago
chrox 92b62c907a refactoring frontlight device to more generic power device 11 years ago
chrox 3ee2c758ec fix lost of frontlight intensity after exiting kobo
This should fix #243.
11 years ago
chrox 998193aa7b add detection of more 3G Paperwhite 2 models 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
NiLuJe 3754ca1ec3 Crappy rework of the model detection on Kindle.
In case it wasn't obvious, I badly suck at lua :D.
11 years ago
HW 2154e7e852 Further refactoring
This should finish the work to make all globals to local variables.
That allows LuaJIT to properly compile things by interning the
references to the relevant parts (rather than looking up globals
all the time which stops a trace).
11 years ago
HW ef111b99c6 Refactored to use strictly locals 11 years ago
chrox 3934176b6c emulator has keyboard now 11 years ago
Giorgio Micotti a6f28c4aab Add clarifying comments 11 years ago
Giorgio Micotti a2ff9b9a9b Final fixes for kobo suspend 11 years ago
Giorgio Micotti cea40ec902 Fixes for light. 11 years ago
Giorgio Micotti ec3d23ef10 Split suspend-resume logic 11 years ago
Giorgio Micotti be1a637c3b DO NOT MERGE initial suspend support for Kobo 11 years ago
Paulo Matias d7b747d6dd Change util.isEmulated to boolean and fix frontlight
Device:hasFrontlight always returned a true-like value because util.isEmulated was an integer.
Fixed this, also, used a polymorphic object design to reduce FrontLight code, and
adapted BaseFrontLight for the emulator.
11 years ago
Paulo Matias e45442c1f6 Refactor Kobo frontlight_intensity restoration: move to reader.lua 11 years ago
Paulo Matias 81facc2ce9 Refactor min/max handling in BaseFrontLight; use getFrontlight() in ReaderFrontLight for consistency 11 years ago
Paulo Matias 3f3fba2fdf Big refactoring: Device handles frontlight device, ReaderFrontLight now only GUI 11 years ago
Giorgio Micotti a145ee19aa Add firmware detection for kobo, adjust input accordingly. 11 years ago
Giorgio Micotti cea353323e Initial light control widget; final fixes for kobo light 11 years ago
Giorgio Micotti c91e3834bb Added detection of single kobo models. Also a script to launch koreader is included and the related Makefile changes. 11 years ago
Giorgio Micotti eed989b349 Add support for Kobo runtime detection, and its single touch protocol. 11 years ago
chrox 5b3aedbea5 save model information for later retrieval 11 years ago
Qingping Hou 1fe2e5c377 use DroidSansFallback for all major fonts
we need DroidSansFallback for internalization :)
11 years ago
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 dd7e26a986 fix crash in goint into screen saver 11 years ago
Qingping Hou d4ff6f9291 first demo of screen rotate 11 years ago
Qingping Hou 00a7d5a61c leave cvm proccess running on KPV start and SS resume
Otherwise, lipc-wait-event won't be able to catch any events
12 years ago
Qingping Hou b79fafb863 add Device:hasKeyboard in device.lua 12 years ago
Qingping Hou 93b642a0d7 fix Device:isKindle4() method 12 years ago
Qingping Hou 1b7357fc0f add Device:hasKeyboard to help initialize UI components
So that kindle4 won't have all the gesture event registered.
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 d4e5b4cb06 add readerpaging and readermenu touch support 12 years ago
Qingping Hou 54b33bd6a7 fix DXG detection 12 years ago
Qingping Hou 2985d27569 rewrite device detection 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