Commit Graph

177 Commits (master)

Author SHA1 Message Date
chrox 4920426148 no need to do full screen refresh when outof screensaver
since there is already one by the native system
9 years ago
chrox e91b7bd266 set foucus of button table only if the device has a dpad
so that Kindle Voyage won't show a highlighted button in
confirm dialog.
9 years ago
NiLuJe d17ca951d3 Fix battery status on K3.
Will probably be more complex on older devices, where, AFAICT,
gasgauge-info is bitbanging over i2c...
9 years ago
NiLuJe 5fa5fabf02 Fix battery status on the K4
And also probably prevent a crash when trying to enable WiFi there.
We really shouldn't even show the WiFi stuff on some of these old
devices, but at least now it doesn't crash ;).
9 years ago
NiLuJe dc7b854196 Fix input devices on K2 9 years ago
NiLuJe ffd3f5c1cc Fix input devices on K4 9 years ago
NiLuJe df4bbc8191 Only read Kindle S/N once 9 years ago
NiLuJe 928404a6b6 Fix K4 key mappings 9 years ago
NiLuJe 53e5366e39 Fix input devices on K3.
re #1623
9 years ago
NiLuJe e56d30ff46 Oops. Fix my previous commit.
That basically broke startup on Kindles, which is, err, bad.
9 years ago
NiLuJe a4ebfee83b Handle the PW3
(Dry-coded, assume it's basically a PW2 w/ the KV screen ;p)
9 years ago
NiLuJe 8a8697c382 Future-proof the frontlight handling on Kindle.
Guard against trying to get any kind of frontlight info on devices
without one.

So far the flIntensity prop has always been there, even on devices
without one, but better not assume that'll always be the case ;).

That, and be consistent with the other lipc_handle tests.
9 years ago
chrox 906c91f0ad add page-button support for Kindle Voyage 9 years ago
NiLuJe 06bf4a2199 Fix input on KT2 devices (re #1403) 9 years ago
Hans-Werner Hilse dacb59f6b2 move debug function handover, set viewport for Kobo Mini
in order to have debugging facilities in framebuffer:init(), we hand
over the debug function as soon as we can.

Also, set a viewport for Kobo Mini. Hopefully, it fits most people -
I can only test on my unit.
10 years ago
chrox ac6a34ee3d fix crash on special offered Kindle 10 years ago
Hans-Werner Hilse 63af71188a refactor refresh
Lots of the device-related distinction wandered into
base/ffi/framebuffer_<driver>. This eases the refresh logic in
UI manager, which basically only decides what kind of refresh
to trigger. The device specific configuration in the framebuffer
driver decides how to realize that whish.

screen.lua is gone, in its place is now the framebuffer driver.
The device abstraction decides what framebuffer driver to load.
10 years ago
NiLuJe f6753085ef Detect another KT2 model 10 years ago
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
10 years ago
chrox b6432c0305 fix missing fake events for Kindle devices
This should fix #1120.
10 years ago
NiLuJe 5dd9e917b7 Kill a FIXME :) 10 years ago
NiLuJe 52e21416e6 Detect more KV variants 10 years ago
NiLuJe 3e9f2b06a3 Fix Wario battery/charger detection
Not sure how we didn't catch that one sooner... ;p
10 years ago
NiLuJe d488ca43fa Some potentially fun stuff TODO :) 10 years ago
NiLuJe a9d1c860fd Sigh. 10 years ago
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 ;).
10 years ago
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.
10 years ago