shortcut for bookmarks

reviewable/pr11749/r2
SomeGuy 3 weeks ago committed by GitHub
parent bef0b0180f
commit f688ec4cf9
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -61,6 +61,9 @@ function ReaderBookmark:onGesture() end
function ReaderBookmark:registerKeyEvents()
if Device:hasKeyboard() then
self.key_events.ShowBookmark = { { "B" } }
elseif Device:hasPageUpDownKeys() and Device:hasDPad() then
self.key_events.ShowBookmark = { { "ScreenKB", "Left" } }
self.key_events.ToggleBookmark = { { "ScreenKB", "Right" } }
end
end

Loading…
Cancel
Save