kalamine
kalamine copied to clipboard
Modifying the [spacebar] section doesn’t generate the right .keylayout
I took ergol.toml, modified the name8 to "modified-spacebar", and the [spacebar] section to have easy to search symbols names.
[spacebar]
shift = "\u9991"
altgr = "\u9992"
altgr_shift = "\u9993"
1dk = "\u9994"
1dk_shift = "\u9995"
In the output of kalamine build double_identifier.toml
:
- dist/modify-spacebar.xkb correctly contains the following output:
// Space bar
key <SPCE> {[ space , U9991 , U9994 , U9994 ],[ U9992 , U9993 ]}; // 馑 馔 馔 馒 馓
- however dist/modify-spacebar.keylayout doesn’t have any modification passed on.
I assume the code just take default hardcoded values instead of the user-specified one. I am not sure which symbols would have been the best to to this test. Apparently 999x is in the Chinese plane! I am not sure if after the fix kalamine will display the hex value of the kenji. The part of the output that must be modified are the one after each <!-- Space bar -->
, and the last 3 actions blocks.
(btw it’s not possible to remap the spacebar, we don’t have a alpha = "…"
entry in the [spacebar] section, but who would want that !)
modify-spacebar.toml.txt modify-spacebar.keylayout.txt modify-spacebar.keylayout.expected.txt