Skip to content

rust-windowing/xkeysym

xkeysyms

This crate provides constants representing all of the X11 keyboard symbols. It also provides utility functions for working with those symbols, and for converting between keyboard codes and keyboard symbols. This crate does not depend on a particular implementation of the X11 protocol and can therefore be used in any context where X11 keyboard symbols are needed.

In addition, this crate contains no unsafe code and is fully compatible with no_std environments.

MSRV Policy

The Minimum Safe Rust Version for this crate is 1.58.1.

Updating Headers

To update the automatically generated keyboard symbols in the automatically_generated.rs file, install Just and run just. The process creates a Debian Docker container in order to keep the files consistent, so make sure Docker is installed first.

License

Licensed under either of

at your option.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work by you, as defined in the Apache-2.0 license, shall be triple licensed as above, without any additional terms or conditions.