I saw a ’ K_LOPT ’ special key in touch layout of keyman to open menu. Which are the other special key codes in similar category.
Which key code uses to hide touch layout ?
Which key code uses to toogle touch keyboard layouts without pop up menu ?
Which key code uses in touch layout to trigger android’s change keyboard menu ?
I did a search of our help and realised that the
K_LOPT key id is not documented. I’ve added an issue internally to get that documented.
There are only two special keys:
K_LOPT shows the keyboard menu or switches keyboards
K_ROPT dismisses/hides the keyboard
K_LOPT keyboard has slightly different semantics on iOS and Android. On iOS, a touch will swap to the next keyboard, and longpress will bring up a menu. On Android, touching the key will open the keyboard menu. In Keyman 11 on Android, the menu has an additional option to switch to a non-Keyman keyboard (missing in version 10). Longpress does not currently have a meaning on this key on Android.
K_ROPT only appears to work to hide the keyboard iOS 14.3 in the Keyman App itself. It doesn’t appear to work elsewhere. Is this a known issue or is ig something I could work around?
@joshua_horton is this a known issue?
Probably not. Admittedly, I’ve never tested for it; I don’t think I’ve seen that key used on many, if any, actively-distributed keyboards.
I’ve documented this as an issue here so we don’t lose track of it: https://github.com/keymanapp/keyman/issues/4438