mirror of
https://github.com/koreader/koreader.git
synced 2025-08-10 00:52:38 +00:00
This reverts commit 3f64ecfd28.
This commit is contained in:
@@ -965,9 +965,7 @@ function Menu:init()
|
||||
self.key_events.PrevPage = { { Input.group.PgBack } }
|
||||
end
|
||||
|
||||
if Device:hasFiveWay() and not Device:hasKeyboard() then
|
||||
self.key_events.Hold = { { "ScreenKB", "Press" }, event = "Hold" }
|
||||
elseif Device:hasDPad() then
|
||||
if Device:hasDPad() then
|
||||
-- we won't catch presses to "Right", leave that to MenuItem.
|
||||
self.key_events.FocusRight = nil
|
||||
-- shortcut icon is not needed for touch device
|
||||
|
||||
@@ -515,9 +515,6 @@ function TouchMenu:init()
|
||||
if Device:hasFewKeys() then
|
||||
self.key_events.Back = { { "Left" } }
|
||||
end
|
||||
if Device:hasFiveWay() and not Device:hasKeyboard() then
|
||||
self.key_events.Hold = { { "ScreenKB", "Press" }, event = "Hold" }
|
||||
end
|
||||
self.key_events.NextPage = { { Input.group.PgFwd } }
|
||||
self.key_events.PrevPage = { { Input.group.PgBack } }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user