Hans-Werner Hilse
50cdbf133f
fix refresh with rotation and viewport
2014-11-12 09:32:09 +01:00
Hans-Werner Hilse
c5afa17399
make fake_events device a private feature of the Kindle device initialization
...
This is highly Kindle-specific, so we keep it there for now
2014-11-11 20:17:46 +01:00
Hans-Werner Hilse
6e40d5a9ad
Fix refresh in rotated (landscape) mode when using viewport
...
Rotation wasn't applied to the underlying framebuffer's blitbuffer,
so refresh coordinates were cut off the wrong way.
2014-11-11 17:43:58 +01:00
Hans-Werner Hilse
5e5b2bd18d
calculate proper refresh coordinates when using viewport
...
The viewport offset used by refresh() was not properly adapted when
the screen was rotated.
2014-11-11 15:53:26 +01:00
chrox
b6432c0305
fix missing fake events for Kindle devices
...
This should fix #1120 .
2014-11-11 13:17:13 +08:00
NiLuJe
6b21057c35
Do FULL updates when going in/out of ScreenSaver.
...
Sounds a good idea in general, and helps in particular on REAGL-aware
devices.
2014-11-10 16:51:31 +01:00
WS64
67c4bb365d
Center screen for Kobo Aura
...
Why was it
viewport = Geom:new{x=6, y=12, w=752, h=1012},?
viewport = Geom:new{x=0, y=0, w=752, h=1012}, looks way better!
2014-11-10 13:48:46 +01:00
Qingping Hou
b32f42d6eb
Merge pull request #1111 from Frenzie/master
...
Remove KOBO_LIGHT_OFF_ON_SUSPEND option and move workaround to kobolight.lua
2014-11-09 17:49:17 -05:00
Hans-Werner Hilse
d91dccae80
fix night mode setting
...
implement bezel cleaning with proper background color
2014-11-09 18:03:33 +01:00
Hans-Werner Hilse
7c9d7e64b3
fix rotation: viewport, not framebuffer
...
Rotation was always referring to the framebuffer's blitbuffer,
which in the case of devices with a viewport was not identical.
2014-11-09 17:37:50 +01:00
Frans de Jonge
c4f1687c22
Remove KOBO_LIGHT_OFF_ON_SUSPEND option and move workaround to ffi/kobolight.ua
2014-11-09 16:37:15 +01:00
NiLuJe
5dd9e917b7
Kill a FIXME :)
2014-11-08 15:50:57 +01:00
NiLuJe
52e21416e6
Detect more KV variants
2014-11-08 15:50:57 +01:00
NiLuJe
3e9f2b06a3
Fix Wario battery/charger detection
...
Not sure how we didn't catch that one sooner... ;p
2014-11-08 15:50:57 +01:00
NiLuJe
cd7e9c3257
First stab at revamping the wait for marker stuff
...
WIP, untested, can probably simplified some more.
Good news is, it should be smarter, and thus provide a smoother user
experience :).
Relies on the relevant changes in base.
2014-11-08 15:50:57 +01:00
NiLuJe
d488ca43fa
Some potentially fun stuff TODO :)
2014-11-08 15:50:56 +01:00
NiLuJe
a9d1c860fd
Sigh.
2014-11-08 15:50:56 +01:00
NiLuJe
df965eb534
Dry-coded skeleton detection of the KT2 & KV
...
FIXME!
Needs actual confirmation from people with the HW!!
Once that's done, some device checks will probably need to be
udated in the codebase to take those new devices into account ;).
2014-11-08 15:50:56 +01:00
Frans de Jonge
8cd80288a0
Implement UIManager:unschedule(action). Fixes #1007 .
2014-11-06 12:59:00 +01:00
Frans de Jonge
011c5b6544
Fix Kobo resume in new hardware abstraction.
2014-11-06 10:33:48 +01:00
chrox
a5cff2c42b
add user defined event map
...
This should fix #1016 .
Usage for #1016 :
Create a file named "custom.event.map.lua" in the koreader directory
with the following content:
return {
[102] = "LPgFwd",
}
2014-11-06 15:02:06 +08:00
HW
f0fba63f67
Merge pull request #1082 from chrox/cover_50
...
screenshot to PNG files by default
2014-11-05 11:44:55 +01:00
chrox
ae1dd3b380
screenshot to PNG files by default
2014-11-05 16:58:09 +08:00
Qingping Hou
8927f901da
fix(input): use elseif conditional logic in adjustTouchSwitchXY
2014-11-05 02:54:04 -05:00
Hans-Werner Hilse
64601ffe3b
add wrapper for FFI input.open()
2014-11-04 09:56:04 +01:00
Hans-Werner Hilse
3eae0cdcb7
Bugfixes: test leftovers, wrong paths
2014-11-03 10:08:55 +01:00
Hans-Werner Hilse
3066c86e38
Refactoring hardware abstraction
...
This is a major overhaul of the hardware abstraction layer.
A few notes:
General platform distinction happens in
frontend/device.lua
which will delegate everything else to
frontend/device/<platform_name>/device.lua
which should extend
frontend/device/generic/device.lua
Screen handling is implemented in
frontend/device/screen.lua
which includes the *functionality* to support device specifics.
Actually setting up the device specific functionality, however,
is done in the device specific setup code in the relevant
device.lua file.
The same goes for input handling.
2014-11-02 21:19:04 +01:00