[Hotkeys] add single-key shortcuts (#14867)
This commit is contained in:
1 parent
1ad6674eec
commit
1e0e859ba8
17 files changed
+111
-204
No files matched your search
@@ -290,9 +290,7 @@ function ReaderHighlight:registerKeyEvents()
|
||||
self.key_events.QuickLeftHighlightIndicator = { { modifier, "Left" }, event = "MoveHighlightIndicator", args = {-1, 0, QUICK_INDICATOR_MOVE} }
|
||||
self.key_events.QuickRightHighlightIndicator = { { modifier, "Right" }, event = "MoveHighlightIndicator", args = {1, 0, QUICK_INDICATOR_MOVE} }
|
||||
self.key_events.HighlightModifierPress = { { modifier, "Press" } }
|
||||
if Device:hasKeyboard() then
|
||||
self.key_events.StartHighlightIndicator = { { "H" } }
|
||||
end
|
||||
-- onStartHighlightIndicator (H) is handled by hotkeys.koplugin
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Reference in new issue
Block a user