Skip to content
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

Add xkb support #72

Open
legionus opened this issue Mar 22, 2022 · 0 comments
Open

Add xkb support #72

legionus opened this issue Mar 22, 2022 · 0 comments
Assignees

Comments

@legionus
Copy link
Owner

It's very nice to be able to use the keymap from the xkbcommon project. Using xkbcommon a keymap is created and then converted to a kernel keymap as far as possible.

This support does not replace regular keymaps. There are no plans for this. The command looks like:

loadkeys --xkb-layout="us,ru,fr" --xkb-options="grp:caps_toggle"

This implementation is inspired by the console-setup project. Many thanks to Anton Zinoviev for help.

At the moment compose is not implemented. This is because xkbcommon does not provide an API for iterating over a compose table. I hope to solve this problem in the future.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant