4 releases

0.2.1 Jun 7, 2024
0.2.0 Jun 24, 2023
0.1.1 Jan 30, 2023
0.1.0 Jan 2, 2023

#53 in Unix APIs

Download history 59733/week @ 2024-08-15 59581/week @ 2024-08-22 60182/week @ 2024-08-29 65342/week @ 2024-09-05 63178/week @ 2024-09-12 64280/week @ 2024-09-19 70962/week @ 2024-09-26 74804/week @ 2024-10-03 72005/week @ 2024-10-10 71479/week @ 2024-10-17 72515/week @ 2024-10-24 78736/week @ 2024-10-31 72808/week @ 2024-11-07 67118/week @ 2024-11-14 66613/week @ 2024-11-21 62038/week @ 2024-11-28

282,253 downloads per month
Used in 1,252 crates (7 directly)

MIT OR Apache-2.0 OR Zlib

735KB
14K SLoC

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.

Dependencies