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

Set actual model names on PB devices #4479

Merged
merged 4 commits into from Jan 13, 2019
Merged
Show file tree
Hide file tree
Changes from 3 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
6 changes: 3 additions & 3 deletions frontend/device/kobo/device.lua
Expand Up @@ -23,18 +23,18 @@ local Kobo = Generic:new{
model = "Kobo",
isKobo = yes,
isTouchDevice = yes, -- all of them are
hasBGRFrameBuffer = yes, -- True when >16bpp
hasBGRFrameBuffer = yes, -- True when >16bpp (i.e., on current FW)
hasOTAUpdates = yes,

-- most Kobos have X/Y switched for the touch screen
touch_switch_xy = true,
-- most Kobos have also mirrored X coordinates
touch_mirrored_x = true,
-- enforce protrait mode on Kobos:
-- enforce portrait mode on Kobos
isAlwaysPortrait = yes,
-- the internal storage mount point users can write to
internal_storage_mount_point = "/mnt/onboard/",
-- currently only Aura One has coloured frontlight
-- currently only the Aura One and Forma have coloured frontlights
hasNaturalLight = no,
}

Expand Down
16 changes: 14 additions & 2 deletions frontend/device/pocketbook/device.lua
Expand Up @@ -157,6 +157,7 @@ end

-- PocketBook InkPad
local PocketBook840 = PocketBook:new{
model = "PBInkPad",
isTouchDevice = yes,
hasKeys = yes,
hasFrontlight = yes,
Expand All @@ -166,15 +167,17 @@ local PocketBook840 = PocketBook:new{

-- PocketBook Lux 4
local PocketBook627 = PocketBook:new{
model = "PBLux4",
isTouchDevice = yes,
hasKeys = yes,
hasFrontlight = yes,
display_dpi = 212,
emu_events_dev = "/var/dev/shm/emu_events",
}

-- PocketBook HD Touch
-- PocketBook Touch HD
local PocketBook631 = PocketBook:new{
model = "PBTouchHD",
isTouchDevice = yes,
hasKeys = yes,
hasFrontlight = yes,
Expand All @@ -184,6 +187,7 @@ local PocketBook631 = PocketBook:new{

-- PocketBook Touch HD Plus
local PocketBook632 = PocketBook:new{
model = "PBTouchHDPlus",
isTouchDevice = yes,
hasKeys = yes,
hasFrontlight = yes,
Expand All @@ -194,6 +198,7 @@ local PocketBook632 = PocketBook:new{

-- PocketBook Lux 3
local PocketBook626 = PocketBook:new{
model = "PBLux3",
isTouchDevice = yes,
hasKeys = yes,
hasFrontlight = yes,
Expand All @@ -203,6 +208,7 @@ local PocketBook626 = PocketBook:new{

-- PocketBook Basic Touch
local PocketBook624 = PocketBook:new{
model = "PBBasicTouch",
isTouchDevice = yes,
hasKeys = yes,
hasFrontlight = no,
Expand All @@ -212,6 +218,7 @@ local PocketBook624 = PocketBook:new{

-- PocketBook Basic Touch 2
local PocketBook625 = PocketBook:new{
model = "PBBasicTouch2",
isTouchDevice = yes,
hasKeys = yes,
hasFrontlight = no,
Expand All @@ -221,6 +228,7 @@ local PocketBook625 = PocketBook:new{

-- PocketBook Touch Lux
local PocketBook623 = PocketBook:new{
model = "PBTouchLux",
isTouchDevice = yes,
hasKeys = yes,
hasFrontlight = yes,
Expand All @@ -230,6 +238,7 @@ local PocketBook623 = PocketBook:new{

-- PocketBook InkPad 3
local PocketBook740 = PocketBook:new{
model = "PBInkPad3",
isTouchDevice = yes,
hasKeys = yes,
hasFrontlight = yes,
Expand All @@ -238,8 +247,9 @@ local PocketBook740 = PocketBook:new{
emu_events_dev = "/var/dev/shm/emu_events",
}

-- PocketBook HD Touch
-- PocketBook Sense
local PocketBook630 = PocketBook:new{
model = "PBSense",
isTouchDevice = yes,
hasKeys = yes,
hasFrontlight = yes,
Expand All @@ -249,6 +259,7 @@ local PocketBook630 = PocketBook:new{

-- PocketBook Aqua 2
local PocketBook641 = PocketBook:new{
model = "PBAqua2",
isTouchDevice = yes,
hasKeys = yes,
hasFrontlight = yes,
Expand All @@ -258,6 +269,7 @@ local PocketBook641 = PocketBook:new{

-- PocketBook Color Lux
local PocketBookColorLux = PocketBook:new{
model = "PBColorLux",
isTouchDevice = yes,
hasKeys = yes,
hasFrontlight = yes,
Expand Down