1 unstable release
0.2.0 | Aug 13, 2019 |
---|
#565 in Unix APIs
215 downloads per month
Used in kickoff
25KB
121 lines
X11 Keysym definition map
Convert among X11 keysyms, unicodes, and string names in Rust. Based on github.com/substack/node-keysym.
License
The Rust code is licensed under either of
- Apache License, Version 2.0 (LICENSE-APACHE or http://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or http://opensource.org/licenses/MIT)
at your option.
The src/keysym.json
file is in the public domain. It was last retrieved from here on 2019-07-19.
Contribution
Fork & PR on Github.
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 dual licensed as above, without any additional terms or conditions.
lib.rs
:
The "X11 Window System Protocol" standard defines in Appendix A the keysym codes. These 29-bit integer values identify characters or functions associated with each key (e.g., via the visible engraving) of a keyboard layout.
This library contains mappings between mnemonic macro names and these keysym codes.
Dependencies
~150KB