From bea7ca7008f113ad83ca82db71b3db80636ecbf5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=90=D0=BD=D0=B4=D1=80=D0=B5=D0=B9=20=D0=A2=D1=8E=D1=80?= =?UTF-8?q?=D0=B8=D0=BD?= Date: Mon, 15 Jul 2019 15:39:37 +0300 Subject: [PATCH] Pocketbook 622 preliminary support (#5118) --- frontend/device/pocketbook/device.lua | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/frontend/device/pocketbook/device.lua b/frontend/device/pocketbook/device.lua index a32cd4c7d..75d350a71 100644 --- a/frontend/device/pocketbook/device.lua +++ b/frontend/device/pocketbook/device.lua @@ -266,6 +266,16 @@ local PocketBook625 = PocketBook:new{ emu_events_dev = "/var/dev/shm/emu_events", } +-- PocketBook Touch +local PocketBook622 = PocketBook:new{ + model = "PBTouch", + isTouchDevice = yes, + hasKeys = yes, + hasFrontlight = no, + display_dpi = 166, + emu_events_dev = "/var/dev/shm/emu_events", +} + -- PocketBook Touch Lux local PocketBook623 = PocketBook:new{ model = "PBTouchLux", @@ -324,7 +334,9 @@ logger.info('SoftwareVersion: ', PocketBook:getSoftwareVersion()) local codename = PocketBook:getDeviceModel() -if codename == "PocketBook 623" then +if codename == "PocketBook 622" then + return PocketBook622 +elseif codename == "PocketBook 623" then return PocketBook623 elseif codename == "PocketBook 624" then return PocketBook624