readertoc mapped to "ScreenKB" key

reviewable/pr11749/r1
SomeGuy 3 weeks ago committed by GitHub
parent dc0ba58ebf
commit 9e84bc653e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

@ -62,6 +62,8 @@ function ReaderToc:onGesture() end
function ReaderToc:registerKeyEvents()
if Device:hasKeyboard() then
self.key_events.ShowToc = { { "T" } }
elseif Device:hasPageUpDownKeys() and Device:hasDPad() then
self.key_events.ShowToc = { { "ScreenKB" } }
end
end

Loading…
Cancel
Save