mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Support 'Ctrl' shortcuts on hasKeyboard (#12347)
This commit is contained in:
@@ -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" } }
|
||||
|
||||
Reference in New Issue
Block a user