Non-touch DPad improvements (#11749)

Closes #11295.
This commit is contained in:
SomeGuy
2024-05-20 20:20:50 +01:00
committed by GitHub
parent 36d2e3cf74
commit 577c5d454f
13 changed files with 223 additions and 20 deletions

View File

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