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

#54 in Unix APIs

Download history 58000/week @ 2024-07-30 62457/week @ 2024-08-06 63203/week @ 2024-08-13 56684/week @ 2024-08-20 60721/week @ 2024-08-27 65794/week @ 2024-09-03 60987/week @ 2024-09-10 63859/week @ 2024-09-17 70127/week @ 2024-09-24 73011/week @ 2024-10-01 71936/week @ 2024-10-08 71483/week @ 2024-10-15 72727/week @ 2024-10-22 75182/week @ 2024-10-29 79122/week @ 2024-11-05 66615/week @ 2024-11-12

305,851 downloads per month
Used in 1,280 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