2 unstable releases

new 0.2.0 Jan 26, 2025
0.1.0 Jan 21, 2025

#8 in #xkb

Download history 249/week @ 2025-01-21

249 downloads per month
Used in 3 crates (via kbvm)

MIT/Apache

9KB
226 lines

KBVM

crates.io docs.rs MSRV

KBVM is a rust implementation of the XKB specification and associated protocols. It supports

  • creating keymaps from XKB files,
  • creating keymaps from RMLVO names,
  • creating keymaps from X11 connections,
  • creating a composition state machine from XCompose files, and
  • loading the RMLVO registry.

A keymap can be turned into a compositor-side state machine or a client-side lookup table.

Compatibility

See compatibility.md.

CLI

The kbvm-cli crate provides a binary that can be used to compile and test keymaps without installing them.

License

This kbvm crate is licensed under either of

  • Apache License, Version 2.0
  • MIT License

at your option.

Dependencies

~235–680KB
~16K SLoC