https://github.com/rust-embedded-community/pc-keyboard
PS/2 Keyboard Decoder in Rust
https://github.com/rust-embedded-community/pc-keyboard
Last synced: about 2 months ago
JSON representation
PS/2 Keyboard Decoder in Rust
- Host: GitHub
- URL: https://github.com/rust-embedded-community/pc-keyboard
- Owner: rust-embedded-community
- License: apache-2.0
- Created: 2018-04-15T21:32:14.000Z (about 8 years ago)
- Default Branch: main
- Last Pushed: 2026-04-04T20:32:38.000Z (2 months ago)
- Last Synced: 2026-04-04T22:38:17.337Z (2 months ago)
- Language: Rust
- Size: 211 KB
- Stars: 114
- Watchers: 7
- Forks: 31
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# pc-keyboard
A simple driver for handling PC keyboards, with both Scancode Set 1 (when
running on a PC) and Scancode Set 2 support (when reading a PS/2 keyboard
output directly).
See for documentation, or read [`src/lib.rs`](./src/lib.rs).
## Minimum Supported Rust Version (MSRV)
This crate is guaranteed to compile on stable Rust 1.61 and up. It might compile with older versions but that may change in any new patch release.
## Changelog
There is a changelog in [CHANGELOG.md](./CHANGELOG.md).
## License
Licensed under either of
- Apache License, Version 2.0 ([LICENSE-APACHE](LICENSE-APACHE) or
http://www.apache.org/licenses/LICENSE-2.0)
- MIT license ([LICENSE-MIT](LICENSE-MIT) or http://opensource.org/licenses/MIT)
at your option.
## Contribution
Unless you explicitly state otherwise, any contribution intentionally
submitted for inclusion in the work by you shall be licensed as above, without
any additional terms or conditions.
Contributions must be in accordance with the notices in [CONTRIBUTING.md](./CONTRIBUTING.md).
## Code of Conduct
Contribution to this crate is organized under the terms of the [Rust Code of
Conduct][coc], the maintainer of this crate, the [Rust Embedded Community][team], promises
to intervene to uphold that code of conduct.
[coc]: https://www.rust-lang.org/policies/code-of-conduct
[team]: https://github.com/orgs/rust-embedded-community/people