mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
[PocketBook] Add 515 and PB616W definition stubs (#6182)
Might need further tweaks. References <https://github.com/koreader/koreader/issues/6168>.
This commit is contained in:
@@ -205,6 +205,19 @@ local PocketBook840 = PocketBook:new{
|
||||
display_dpi = 250,
|
||||
}
|
||||
|
||||
-- PocketBook 515
|
||||
local PocketBook515 = PocketBook:new{
|
||||
model = "PB515",
|
||||
display_dpi = 200,
|
||||
isTouchDevice = no,
|
||||
}
|
||||
|
||||
-- PocketBook Basic Lux 2
|
||||
local PocketBook616 = PocketBook:new{
|
||||
model = "PBBLux2",
|
||||
display_dpi = 212,
|
||||
}
|
||||
|
||||
-- PocketBook Lux 4
|
||||
local PocketBook627 = PocketBook:new{
|
||||
model = "PBLux4",
|
||||
@@ -302,7 +315,12 @@ logger.info('SoftwareVersion: ', PocketBook:getSoftwareVersion())
|
||||
|
||||
local codename = PocketBook:getDeviceModel()
|
||||
|
||||
if codename == "PocketBook 622" then
|
||||
if codename == "PocketBook 515" then
|
||||
return PocketBook515
|
||||
elseif codename == "PB616W" or
|
||||
codename == "PocketBook 616" then
|
||||
return PocketBook616
|
||||
elseif codename == "PocketBook 622" then
|
||||
return PocketBook622
|
||||
elseif codename == "PocketBook 623" then
|
||||
return PocketBook623
|
||||
|
||||
Reference in New Issue
Block a user