I’m fairly new to Keyman Developer, using that on Windows 10.
I built a layout for the language Tangsa the Lakhum script, which is new in Unicode 14 . The script is in the Supplementary Multilingual Plane (SMP). The KeyMan project contains a Unicode font for the writing system.
The desktop layout works just fine for Mac and Windows. However, there are problems installing a touchscreen version on Android.
Trying the touchscreen version using my phone (Android) in the test mode (via 192.168..) works great. It shows the keyboard with the expected characters in the Tangsa Lakhum script. The long press characters work, and the keycaps show the characters as expected.
However, installing this on my Android by loading the .kmp file in the KeyMan app shows only the Latin keyboard A-Z. However, the characters created are the Tangsa Lakhum letters. And the long press options have also disappeared. Very curious and frustrating.
Two collaborators experience the same problems on their mobile devices!
I did get Tangsa Lakhum keyboard added to KeyMan’s repository a few weeks ago, with kind help and comments from reviewers. That version does not have the touchscreen layout. Could this be interacting with the KMP installation?
I will be happy to share screen shots of this behavior and also the .kmp.
Apart from making sure you recompiled the package after adding the touch layout, I am not sure off the top of my head what is going on. It seems unlikely that there would be interactions with the version that was added to the Keyman keyboards repo.
Could you share the source files and the .kmp as a zip (via private message on the forum)?
Thanks for sharing the folder. I took a look, and I think that the problem is that you renamed some files but the package still refers to the old files. I’d recommend going through and removing all the old files (I think tangsa_lakhum_unicode.* is the most recent name).
Once I removed the old files from the .kps and added tangsa_lakhum_unicode.js and tangsa_lakhum_unicode.kmx files, then the keyboard displayed as expected in the Keyman app.
I should note that we don’t recommend using the words “keyboard” or “unicode” in the name or ID of the keyboard – they’re kinda redundant and can make some UI messages a little harder to understand.
We did use tangsa_lakhum for the keyboard filenames for what is in github. So, remember to use those files as a starting place and then slot in your new mobile layout rather than starting from an older version of your project.