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

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

No files matched your search

+1 -3
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
-3
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 } }