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 PB Inkpad 4 #10468

Merged
merged 1 commit into from May 20, 2023
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
11 changes: 11 additions & 0 deletions frontend/device/pocketbook/device.lua
Expand Up @@ -646,6 +646,15 @@ function PocketBook741._fb_init(fb, finfo, vinfo)
vinfo.bits_per_pixel = 24
end

-- PocketBook InkPad 4 (743G)
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-- PocketBook InkPad 4 (743g)

local PocketBook743G = PocketBook:extend{
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

local PocketBook743g = PocketBook:extend{

model = "PBInkPad4",
display_dpi = 300,
isAlwaysPortrait = yes,
usingForcedRotation = landscape_ccw,
hasNaturalLight = yes,
}

-- PocketBook Color Lux (801)
local PocketBookColorLux = PocketBook:extend{
model = "PBColorLux",
Expand Down Expand Up @@ -748,6 +757,8 @@ elseif codename == "PB740-2" or codename == "PB740-3" then
return PocketBook740_2
elseif codename == "PB741" then
return PocketBook741
elseif codename == "PB743G" or codename == "PocketBook 743G" then
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

elseif codename == "PB743g" or codename == "PocketBook 743g" then

return PocketBook743G
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

return PocketBook743g

elseif codename == "PocketBook 840" then
return PocketBook840
elseif codename == "PB970" then
Expand Down