Commit Graph

63 Commits (47e65af4ed04513a1a660fb3bc9f6df67f78309f)

Author SHA1 Message Date
Qingping Hou b0682b0470 chore: code clean up 10 years ago
Qingping Hou c1c3bcb3fe fix: various fixes for kindle dxg 10 years ago
Frans de Jonge 629c32f6ba Changes for Kobo Aura H2O. 10 years ago
Qingping Hou 16b393ff47 chore(device.lua): remove frontlight hack for kobo 10 years ago
chrox 14e2bf3d69 refatoring: lazy loading of packages 10 years ago
chrox 3bd2c0756a always suspend in portrait mode so that screensaver image won't be stretched
This patch should fix #886.
10 years ago
WS64 a3fad804e3 Bring back the two KOBO variables for the light
This should close #856.
Although still closed I will check this one back with someone from the German forum, I hope this also closes #822, but there might be still some problems with the light-bug introduced in Kobo's firmware 3.5. But since 822 is already in the state closed we can leave things as they are for now and I will reopen 822 if necessary.
10 years ago
chrox 40bddf0735 emulate Power button with F2 on emulator 10 years ago
WS64 24af13e1c3 Full refresh after suspend 10 years ago
chrox b7c7287bab remove more global variables 10 years ago
NiLuJe 5354fead70 Handle the new 4GB PW2 models 10 years ago
chrox bb9426038f add API to query battery status on Android 10 years ago
NiLuJe a2cf015545 Detect the EU 4GB WiFi PW2 10 years ago
NiLuJe 834ff9a1fb Don't fake the swipe to unlock if not needed.
Re: #695
10 years ago
NiLuJe 9132f520c7 Add the last missing PW2 model. 10 years ago
pazos ccfc6e0bc5 clean crash.log for kobos 10 years ago
Qingping Hou f7766d9606 feature(device): add isKindle method 10 years ago
chrox 613c66aa73 key event map for Android 10 years ago
pazos b690d6aa95 standarize script names for kobos 10 years ago
chrox f9215a3a04 use android config interface to detect device keyboard and screen dpi 10 years ago
Hans-Werner Hilse 0244ba7053 Claim that Android devices do not have a keyboard
For now, we can probably live better with the assumption that
Android devices do not have keyboards. That should be replaced
by an actual check, though.
10 years ago
chrox 9f9acbbffb android fix of screenshot 10 years ago
chrox 3520e0c47e partially working android build
Now the Android build should read PDF and EPUB documents
with limited gestures recognized such as "tap" and "swipe"
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 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