You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi! I'm a kbd project maintainer. I want to add xkbcommon support and generate kernel keymaps on fly. I made a proof-of-concept[1] a while back and it works quite well, but I ran into a problem with libxkbcommon. There is no way in the libxkbcommon to walkthrough a xkb_compose_table. I need this to load the compose table into the kernel (it's Just the sequences and the results). The Kernel API allows data to be loaded into kernelspace and then handles the input with everything itself.
In early 2022 I emailed Ran Benita about this issue and he even did an implementation [2], but unfortunately did not complete it.
Can you make something like xkb_keymap_key_for_each but for xkb_compose_table or maybe some other way to examine the table ?
@wismill Thank you! I've spent some time with the implementation from master and it works for me so far.
Now my problem is that almost all locales are mapped to en_US.UTF-8/Compose (even in your tests), and there are ~5000 entries. Thus, in essence, there is no division by languages on UTF-8. But this is no longer a libxkbcommon problem, but mine.
Hi! I'm a kbd project maintainer. I want to add xkbcommon support and generate kernel keymaps on fly. I made a proof-of-concept[1] a while back and it works quite well, but I ran into a problem with libxkbcommon. There is no way in the libxkbcommon to walkthrough a xkb_compose_table. I need this to load the compose table into the kernel (it's Just the sequences and the results). The Kernel API allows data to be loaded into kernelspace and then handles the input with everything itself.
In early 2022 I emailed Ran Benita about this issue and he even did an implementation [2], but unfortunately did not complete it.
Can you make something like xkb_keymap_key_for_each but for xkb_compose_table or maybe some other way to examine the table ?
[1] legionus/kbd#72
[2] master...bluetech:libxkbcommon:compose-traverse
The text was updated successfully, but these errors were encountered: