kalamine icon indicating copy to clipboard operation
kalamine copied to clipboard

[keylayout] conflicting IDs when a character is included twice in the same layer

Open robinmoussu opened this issue 5 months ago • 8 comments

I took ergol.toml, modified the name8 to "double-identifier", replaced the "-" on the alpha layer by an unbreakable space and "," by a narrow unbreakable space, and "S" by "A" (so that we have two A key, what are you going to do 😄)

In dist/double-identifier.toml, I get 2 sections with id "x00a0" (unbreakable space), 2 sections with id "202f" (narrow unbreakable space), and two section with id "a" which is incorrect.

I would suggest to use the layer + keycode as action id, like "alpha-0" for "a" in layer alpha, "shift-0" for "S", "altgr-18" for the symbol in altgr in the first key on the number row, "shift-space"…

double-identifier.toml.txt double-identifier.keylayout.txt

robinmoussu avatar Jan 31 '24 18:01 robinmoussu