Change for the search keyboard layout (#262)

This commit is contained in:
Brahim Hadriche authored and GitHub committed 2024-01-11 12:19:33 -05:00
1 parent dc148a7c59
commit 7796c63291
3 files changed
+178

No files matched your search

@@ -21,6 +21,8 @@ function Init()
m.rowList.screen = m.top
m.keyboard.keyGrid.keyDefinitionUri = "libpkg:/config/search-keyboard-layout.json5"
textEditBox = m.keyboard.textEditBox
textEditBox.voiceEntryType = "generic"
textEditBox.voiceEnabled = true
@@ -301,6 +303,10 @@ function OnkeyEvent(key as string, press as boolean) as boolean
if m.currentNavigtionNode.isSameNode(m.suggestions)
OnSearchButtonFocused()
end if
if m.currentNavigtionNode.isSameNode(m.keyboard)
' First section, grid, row and key
m.keyboard.keyGrid.jumpToKey = [0, 0, 0, 0]
end if
return true
end if
return false