mirror of
https://github.com/koreader/koreader
synced 2024-10-31 21:20:20 +00:00
Switch crengine to Alt-K/L keys.
I have switched unireader from Alt-Up/Down to Alt-K/L but forgot to do the same for crengine.
This commit is contained in:
parent
e0777b6ed2
commit
ffaa770434
@ -621,12 +621,12 @@ function CREReader:adjustCreReaderCommands()
|
||||
end
|
||||
end
|
||||
)
|
||||
self.commands:addGroup(MOD_ALT.."up/down",{
|
||||
Keydef:new(KEY_FW_UP,MOD_ALT), Keydef:new(KEY_FW_DOWN,MOD_ALT)},
|
||||
self.commands:addGroup(MOD_ALT.."K/L",{
|
||||
Keydef:new(KEY_K,MOD_ALT), Keydef:new(KEY_L,MOD_ALT)},
|
||||
"Jump between bookmarks",
|
||||
function(unireader,keydef)
|
||||
local bm = nil
|
||||
if keydef.keycode == KEY_FW_UP then
|
||||
if keydef.keycode == KEY_K then
|
||||
bm = self:prevBookMarkedPage()
|
||||
else
|
||||
bm = self:nextBookMarkedPage()
|
||||
|
Loading…
Reference in New Issue
Block a user