Update readerrolling dPad support

pull/11749/head
SomeGuy 3 weeks ago committed by GitHub
parent 358a4ec527
commit 5780db6d24
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -154,6 +154,12 @@ function ReaderRolling:registerKeyEvents()
event = "GotoPrevChapter",
args = -1,
}
--[[ upcoming
self.key_events.PrevDocument = {
{ "ScreenKB", "Back" },
event = "PrevDocument",
args = 0,
} ]]
elseif Device:hasDPad() then
self.key_events.MoveUp = {
{ "Up" },
@ -376,6 +382,10 @@ function ReaderRolling:onCloseDocument()
-- if namespaces ~= "" then logger.info("cre unknown namespaces: ", namespaces) end
end
function ReaderRolling:onPrevDocument()
return self.ui:onOpenLastDoc()
end
function ReaderRolling:onCheckDomStyleCoherence()
if self.ui.document and self.ui.document:isBuiltDomStale() then
local has_bookmarks_warn_txt = ""

Loading…
Cancel
Save