From 69f70ac16e8a5cdb665c33b0cf9c4994c26e75b4 Mon Sep 17 00:00:00 2001 From: Frans de Jonge Date: Tue, 13 Dec 2016 14:42:06 +0100 Subject: [PATCH] Kobo: initial support for Kobo Aura second edition (Kobo star) This fixes #2418. --- frontend/device/kobo/device.lua | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/frontend/device/kobo/device.lua b/frontend/device/kobo/device.lua index b8c9469e2..e650d2797 100644 --- a/frontend/device/kobo/device.lua +++ b/frontend/device/kobo/device.lua @@ -95,6 +95,16 @@ local KoboPhoenix = Kobo:new{ viewport = Geom:new{x=0, y=0, w=758, h=1012}, } +-- Kobo Aura second edition: +local KoboStar = Kobo:new{ + model = "Kobo_star", + hasFrontlight = yes, + touch_alyssum_protocol = true, + display_dpi = 212, + -- the bezel covers 12 pixels at the bottom: + viewport = Geom:new{x=0, y=0, w=758, h=1012}, +} + -- Kobo Glo HD: local KoboAlyssum = Kobo:new{ model = "Kobo_alyssum", @@ -352,6 +362,8 @@ elseif codename == "alyssum" then return KoboAlyssum elseif codename == "pika" then return KoboPika +elseif codename == "star" then + return KoboStar elseif codename == "daylight" then return KoboDaylight else