Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add PocketBook Era Color (PB700K3) #11695

Merged
merged 1 commit into from
Apr 19, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
20 changes: 20 additions & 0 deletions frontend/device/pocketbook/device.lua
Original file line number Diff line number Diff line change
Expand Up @@ -649,6 +649,24 @@ local PocketBook700 = PocketBook:extend{
inkview_translates_buttons = true,
}

-- PocketBook Era Color (PB700K3)
local PocketBook700K3 = PocketBook:extend{
model = "PBEraColor",
display_dpi = 300,
hasColorScreen = yes,
canHWDither = yes, -- Adjust color saturation with inkview
canUseCBB = no, -- 24bpp
isAlwaysPortrait = yes,
hasNaturalLight = yes,
-- c.f., https://github.com/koreader/koreader/issues/9556
inkview_translates_buttons = true,
}

function PocketBook700K3._fb_init(fb, finfo, vinfo)
-- Pocketbook Color Lux reports bits_per_pixel = 8, but actually uses an RGB24 framebuffer
vinfo.bits_per_pixel = 24
end

-- PocketBook InkPad 3 (740)
local PocketBook740 = PocketBook:extend{
model = "PBInkPad3",
Expand Down Expand Up @@ -836,6 +854,8 @@ elseif codename == "PB650" or codename == "PocketBook 650" then
return PocketBook650
elseif codename == "PB700" or codename == "PocketBook 700" then
return PocketBook700
elseif codename == "PB700K3" or codename == "PocketBook 700K3" then
return PocketBook700K3
elseif codename == "PB740" then
return PocketBook740
elseif codename == "PB740-2" or codename == "PB740-3" then
Expand Down