Support 'Ctrl' shortcuts on hasKeyboard (#12347)

This commit is contained in:
David
2024-08-13 19:34:34 +01:00
committed by GitHub
parent 6eddc66516
commit f3c0af49c2
6 changed files with 8 additions and 8 deletions

View File

@@ -64,7 +64,7 @@ function ReaderBookmark:onGesture() end
function ReaderBookmark:registerKeyEvents()
if Device:hasKeyboard() then
self.key_events.ShowBookmark = { { "B" } }
self.key_events.ShowBookmark = { { "B" }, { "Shift", "Left" } }
self.key_events.ToggleBookmark = { { "Shift", "Right" } }
elseif Device:hasScreenKB() then
self.key_events.ShowBookmark = { { "ScreenKB", "Left" } }