2
0
mirror of https://github.com/koreader/koreader synced 2024-10-31 21:20:20 +00:00
Commit Graph

151 Commits

Author SHA1 Message Date
bingo619
1edad106c3 Oasis page buttons (#2199)
Oasis page buttons
2016-07-31 15:25:34 -07:00
NiLuJe
2013a66fdd Some more Kobo suspend tweaks...
Disable wakeup_count handling, that's often causing more harm than
anything else...
Nickel doesn't even use it, that should have been a hint ;).

Make the logging slightly less confusing.
Add commented out debug features (dumping relevant dmesg output).

Re #2188
2016-07-31 19:01:15 +02:00
NiLuJe
2f7e32fa20 Fix KT3 input device
It's a zforce2 IR grid...

Fix #2195
2016-07-29 14:34:43 +02:00
Hzj_jie
ccbf8eac0c Add a network info page (#2187)
Add network info page
2016-07-26 21:32:13 -07:00
NiLuJe
04d07699cf Fix touch input on the 3G KOA (#2189)
* Fix touch input on the 3G KOA

There's an extra controller in there screwing things up for us,
because reasons, I guess?

Fix #2181

* Avoid touch_dev duplication
2016-07-26 21:30:12 -07:00
NiLuJe
88e3f54967 Fix KT3 battery sysfs entries 2016-07-18 21:11:50 +02:00
NiLuJe
e565ee289e Fix a few Kindle device codes 2016-07-14 19:05:46 +02:00
Qingping Hou
20eb36a03d feat: add network management UI for kobo 2016-07-11 23:50:19 -07:00
Qingping Hou
44d62f6f41 networkmanager: move device specific code into device module 2016-07-10 23:25:32 -07:00
NiLuJe
207af74527 Support the White Kindle PW3 & the Kindle Oasis.
Also attempts to support the new Kindle Basic, pending confirmation.
2016-07-09 03:16:08 +02:00
chrox
dee65a7999 add inactive touch zones around buttons on Kindle Voyage
This should fix #1801.
2016-07-01 23:47:32 +08:00
chrox
687b6df4f2 add support of screen brightness settings for Android
and use standrad Android API to query battery level and charging status
This should fix #2025, fix #1759 and fix #1415.
2016-06-24 02:05:20 +08:00
Qingping Hou
7d13d00eff uimanager(fix): honor second when calling Input:waitEvent 2016-06-22 01:11:23 -07:00
chrox
5983050d79 PDF free zoom mode revisit
this should implement feature request of zoom mode for multi-columns
page in #501
This PR depends on koreader/koreader-base#435

How to use?
1. Tap the top left corner of a PDF/Djvu page to get into the flipping
mode
2. Double-tap on text block will zoom in to that column
3. Double-tap on any area will zoom out to an overview of the page
4. repeat step 2 to focus to another page block

How does it work?
1. We first find the mask of text blocks in the page. (Pic 1)
2. Then we intersect page boxes with user tap to form a page block. (Pic 2)
3. Finally we zoom the page to the page block and center current view to
that block. (Pic 3)
2016-06-15 02:05:09 +08:00
Qingping Hou
bc9f60034e handle auto shutdown in pocketbook 2016-06-14 00:07:04 -07:00
Qingping Hou
38a1758889 kobo: detect non-epoch timestamp using current second 2016-06-05 14:19:37 -07:00
Qingping Hou
82a3e0f9ad automatically adjust ev time for kobo touch 2016-05-23 23:21:14 -07:00
NiLuJe
103e4eaeb8 Use the GloHD quirks on the Touch 2.0...
re #2005
2016-05-15 20:44:07 +02:00
NiLuJe
9a7c46e8f5 Unbreak previous commit
Weeeeee!
2016-05-15 20:44:07 +02:00
NiLuJe
467e65be3d Don't crash on the Kobo Touch 2.0
I wouldn't go so far as to say "support", though, since I don't have the
device, and the touch protocol might be wrong ;).

re #2005
2016-05-15 20:44:07 +02:00
Cosmin Gorgovan
19338cb439 Kobo: Offer to power off if the power button is held for at least 3 seconds 2016-05-01 14:09:21 +01:00
Zijie He
f33f78cf08 Add an ignore_power_sleepcover setting to ignore Kobo power_sleepcover keycode 2016-04-20 10:21:09 -07:00
Hzj_jie
1be9264a0c Resolve review comments 2016-04-17 22:30:46 -07:00
Zijie He
0b59d501a6 Merge remote-tracking branch 'upstream/master' into screen-saver 2016-04-15 13:21:55 -07:00
Zijie He
7d4bd076f7 Resolve review comments 2016-04-15 13:21:39 -07:00
NiLuJe
d4e5746eb3 Unbreak toggling the fL on Kindles
Fix #1960
2016-04-15 16:51:41 +02:00
NiLuJe
f43cbc74e6 Always forcibly wake the H2O IR grid on wakeup
Fix #1862
Fix #1943
2016-04-09 17:51:39 +02:00
Qingping Hou
eb37d9b8b6 kobo: fix screen probe for touch 2016-04-02 23:06:09 -07:00
Zijie He
b86aa5a02b Implement auto-suspend function for Kobo. Add test case for UIManager:_checkTasks, which should not clear _task_queue_dirty bit before looping. 2016-03-28 17:53:18 -07:00
Qingping Hou
26f5c8861b chore: minor style cleanup 2016-03-27 17:18:25 -07:00
Qingping Hou
c35aad3ae1 fix(kobo): return 0 frontlight level config to signal frontlight off state 2016-03-20 23:58:59 -07:00
Qingping Hou
824bdb4463 comment for kobo sleep 2016-03-10 18:39:36 -08:00
Zijie He
767e6e2b71 Add a sleep after kobo resume to resolve partial blank screen issue (#1874) 2016-03-10 15:35:06 -08:00
Zijie He
61ec784f91 Add eink_optimization_spec 2016-03-08 19:38:06 -08:00
zijiehe
f0c675d722 E-ink optimization setting should be correctly set after restart. 2016-03-08 17:58:05 -08:00
Qingping Hou
ada373e247 kobo: refresh screen after close screensaver on resume 2016-03-07 00:02:15 -08:00
Qingping Hou
e812f7d0d6 kobo: fix typo during refactoring, luacheck is the best check 2016-03-05 13:02:33 -08:00
Qingping Hou
cf70e86552 kobo: move reader setting outside of nicke_conf module 2016-03-02 23:25:39 -08:00
NiLuJe
e60de3044c Keep intensity in sync at the config level too
Make sure frontlight_intensity in reader.lua settings matches what we
write into Nikcel's config
2016-03-02 19:16:02 +01:00
Qingping Hou
4751aba46c kobo: rewording, turns out has_toggle_btn != has_state_cfg :( 2016-03-02 18:25:17 +01:00
Qingping Hou
8190093f83 kobo: don't create FrontLightState config if it didn't exist to begin with 2016-03-02 18:25:17 +01:00
Qingping Hou
8b7658b8cd kobo: always keep intensity value and is_fl_on in sync 2016-03-02 18:25:17 +01:00
Qingping Hou
cf3b97537b kobo: build fl_state based on fl_intensity if model does not support toggle 2016-03-02 18:25:17 +01:00
Qingping Hou
9afae91b13 chore: rename frontlight related variables to keep style consistent
flIntensity -> fl_intensity
flState -> is_fl_on
fallback_FrontLightLevel -> fallback_fl_level
2016-03-02 18:25:17 +01:00
NiLuJe
f213fb6405 Bypass flState on suspend/wakeup
We pretty much always want to turn it off on suspend, and turn it on to
some measure on wakeup.

That, and nickel's FrontLightState is completely nonsensical on my device anyway...
2016-03-02 18:24:14 +01:00
NiLuJe
770625d756 Tweak the 'IR down on resume' workaround...
Only apply it when started from nickel, because I'm guessing we'd have
seen a number of reports of this if it happened more widely...
2016-03-02 18:24:14 +01:00
NiLuJe
85737e2b9d Forcibly re-activate IR grid on resume...
re #1862
2016-03-02 18:24:14 +01:00
NiLuJe
6c8bbfd470 Unbreak Kobo frontlight -> off when suspending.
If no-one touches anything, flState stays false...
And anyway, we should unconditionally disable the fl on sleep.
2016-03-02 18:09:38 +01:00
NiLuJe
7d0c354ffb Unbreak battery status refresh on resume on Kindle
Went kaput w/ #1854
2016-02-29 19:49:37 +01:00
NiLuJe
aa0450ab5d Fix volumd's USBMS splash screen on FW 5.7.x
That clears up my previous queries abour the dual checks ;p.
2016-02-29 18:22:52 +01:00