File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -21,7 +21,7 @@ extern crate pc_keyboard;
21
21
use pc_keyboard :: {Keyboard , layouts, ScancodeSet2 , HandleControl };
22
22
23
23
fn main () {
24
- let mut kb = pc_keyboard :: Keyboard :: new ( layouts :: Us104Key , ScancodeSet2 , HandleControl :: MapLettersToUnicode );
24
+ let mut kb : Keyboard < layouts :: Us104Key , ScancodeSet2 > = Keyboard :: new ( HandleControl :: MapLettersToUnicode );
25
25
match kb . add_byte (0x20 ) {
26
26
Ok (Some (event )) => {
27
27
println! (" Event {:?}" , event );
@@ -42,6 +42,10 @@ fn main() {
42
42
43
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
44
45
+ ## Changelog
46
+
47
+ There is a changelog in [ CHANGELOG.md] .
48
+
45
49
## License
46
50
47
51
Licensed under either of
You can’t perform that action at this time.
0 commit comments