-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
KLC to KCM conversion #14
Comments
keyboard_layout_kbd_layout01_czech_super_programmers_custom.zip Does this work? |
Firstly - thank you for trying! But unfortunately it's not working. Mainly missing top horizontal keyboard row which should produce Czech characters (ěščřžýáíé - now producing numbers) and dead key (should be the key on the left of Backspace) to produce rest of the Czech specific letters (úůťď etc.). Was this conversion made somehow automatically from that KLC file? |
The problem was the 0 key mapped twice in the KLC, which resulted in key 0 being mapped twice in the KLM. Fixed by setting the second mapping it back to EQUALS |
Much better now! But these two main things about dead key are still missing:
As I'm looking to documentation I'm not sure how and even if this is possible using provided syntax. Dead keys are handled "by the system automatically" which leads to problems marked 1) and I don't see a way how to handle it directly as with KLC file where there is specific mapping for case 1). Maybe somehow "programmatically"? |
Sorry I'm pretty caught up with other projects. I don't know how such a behavior could be accomplished in klm. You're right, the dead keys are handled by the system as far as I know too. |
https://source.android.com/devices/input/key-character-map-files
https://developer.android.com/reference/android/view/KeyCharacterMap#getDeadChar(int,%20int) |
Yes, I found that links too. Here is the source code for that getDeadChar() method. |
Android issue mentioned above about dead keys handling is created here. |
Just want to add that list of dead keys handled by system linked here is not complete and complete list should be here. List is here just in case:
So I ended using this list for some missing dead key handlings. The result is not perfect. Still missing custom dead keys handling to override "system" dead keys handling and some combinations are not the same as for input layout mentioned in the first post. |
This is more as a question that real issue. And maybe it will help someone in the future.
I'm using my own layout in Windows which was created by kbdedit and I have KLC file with it. Now I'm looking to a way how to export or convert it to KCM file to use it with this library. I'm Android developer so I can compile my own version of this library because this layout is not that widely used and no need to add it directly to official release. I have also attached layout for any case.
The description of this layout use case can be found for example here
I have alredy found way how to convert KLC to XKB (for Linux), but still no luck with KLC to KCM. So are there any tools or any hints how to convert KLC to KCM?
Thank you
CzechSuperProgrammer.zip
.
The text was updated successfully, but these errors were encountered: