Open devnoname120 opened 2 years ago
@jidhub this could be the time to propose a TOML file for your layout and see how I can make it look like the KCM you did. (Which one is it, btw ?)
https://github.com/jidhub/thumb-external-keyboard-layouts/tree/master/app/src/main/res/raw
@fabi1cazenave on Jan 20:
@jidhub this could be the time to propose a TOML file for your layout and see how I can make it look like the KCM you did. (Which one is it, btw ?)
https://github.com/jidhub/thumb-external-keyboard-layouts/tree/master/app/src/main/res/raw
Note that the Android documentation is heavily outdated: many additional diacritics were added back in 2012.
See the complete list here: https://android.googlesource.com/platform/frameworks/base/+/tags/android-14.0.0_r66/core/java/android/view/KeyCharacterMap.java#192
Another tool which may be an inspiration: https://github.com/ris58h/exkeymo-web But no idea on how to support the 1dk 🤔
It should be simple enough, the format is pretty straightforward. Dead keys have limited support though.
Doc: https://source.android.com/devices/input/key-character-map-files Example of implementation for XKB —> KCM: https://github.com/anisse/bepo-android/blob/master/android.py