mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
Add numerical key_codes to event_map on kindle 3 (#12358)
This commit is contained in:
@@ -136,7 +136,7 @@ function ReaderRolling:registerKeyEvents()
|
||||
self.key_events.GotoNextView = { { { "RPgFwd", "LPgFwd", "Right" } }, event = "GotoViewRel", args = 1, }
|
||||
self.key_events.GotoPrevView = { { { "RPgBack", "LPgBack", "Left" } }, event = "GotoViewRel", args = -1, }
|
||||
end
|
||||
if Device:hasKeyboard() then
|
||||
if Device:hasKeyboard() and not Device.k3_alt_plus_key_kernel_translated then
|
||||
self.key_events.GotoFirst = { { "1" }, event = "GotoPercent", args = 0, }
|
||||
self.key_events.Goto11 = { { "2" }, event = "GotoPercent", args = 11, }
|
||||
self.key_events.Goto22 = { { "3" }, event = "GotoPercent", args = 22, }
|
||||
|
||||
Reference in New Issue
Block a user