Initial handling of the upcoming Kobo Nia (#6380)

Obviously untested ;p
reviewable/pr6385/r1
NiLuJe 4 years ago committed by GitHub
parent 783103b488
commit a8da762955
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -262,6 +262,15 @@ local KoboStorm = Kobo:new{
},
}
-- Kobo Nia:
--- @fixme: Untested, assume it's Clara-ish for now.
local KoboLuna = Kobo:new{
model = "Kobo_luna",
hasFrontlight = yes,
touch_snow_protocol = true,
display_dpi = 212,
}
-- This function will update itself after the first touch event
local probeEvEpochTime
probeEvEpochTime = function(self, ev)
@ -827,6 +836,8 @@ elseif codename == "frost" then
return KoboFrost
elseif codename == "storm" then
return KoboStorm
elseif codename == "luna" then
return KoboLuna
else
error("unrecognized Kobo model "..codename)
end

Loading…
Cancel
Save