Revert "Global long press on K4, 'ScreenKB' + 'Press' (#11872)" (#11881)

This reverts commit 3f64ecfd28.
This commit is contained in:
Frans de Jonge
2024-05-24 16:34:08 +02:00
committed by GitHub
parent fd7e224c16
commit 07b507370f
2 changed files with 1 additions and 6 deletions

View File

@@ -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

View File

@@ -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 } }