Cannot bind `≅` when using X Keyboard Extension format, instead `≈` is bound to the desired key.
kindaro opened this issue · 2 comments
kindaro commented
My source looks like this:
{ "pos": "+", "letters": [ "%", "`", "‰", "″" , "ⱼ", "ʲ", "⇔", "≅" ] },
The character ≅
(«approximately equal to») should be emitted when I press the +
key with all three modifiers. But instead ≈
(«almost equal to») is emitted.
See also #28 for a similar issue. See also #24 for a proposed general solution.
39aldo39 commented
For the special case of ≅
it appears to be an error in keysymdef.h
and is now even deprecated. I have updated the keysymdef output to fix it.
I have also changed my a bit with respect to the Unicode notation: it can be useful for readability and bugs like this, although the bugs shouldn't happen of course. I have added the possibility for notation like U+2248 that forces the Unicode output in e.g. XKB.
kindaro commented
Fantastic! ≅