We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8685c25 commit 148b401Copy full SHA for 148b401
README.md
@@ -21,7 +21,7 @@ extern crate pc_keyboard;
21
use pc_keyboard::{Keyboard, layouts, ScancodeSet2, HandleControl};
22
23
fn main() {
24
- let mut kb = pc_keyboard::Keyboard::new(layouts::Us104Key, ScancodeSet2, HandleControl::MapLettersToUnicode);
+ let mut kb: Keyboard<layouts::Us104Key, ScancodeSet2> = Keyboard::new(HandleControl::MapLettersToUnicode);
25
match kb.add_byte(0x20) {
26
Ok(Some(event)) => {
27
println!("Event {:?}", event);
@@ -42,6 +42,10 @@ fn main() {
42
43
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.
44
45
+## Changelog
46
+
47
+There is a changelog in [CHANGELOG.md].
48
49
## License
50
51
Licensed under either of
0 commit comments