Skip to content

Commit 92d4f71

Browse files
authored
Merge pull request #22 from Neotron-Compute/new-kb-support
Add pc-keyboard support.
2 parents f2a26b9 + b03bf4d commit 92d4f71

File tree

4 files changed

+49
-627
lines changed

4 files changed

+49
-627
lines changed

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,8 @@ panic = "abort"
3737
panic = "abort"
3838

3939
[dependencies]
40-
neotron-common-bios = "0.7"
40+
neotron-common-bios = "0.8"
41+
pc-keyboard = "0.7"
4142
r0 = "1.0"
4243
postcard = "0.5"
4344
serde = { version = "1.0", default-features = false }

build.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,4 +26,8 @@ fn main() {
2626
if Ok("macos") == env::var("CARGO_CFG_TARGET_OS").as_deref() {
2727
println!("cargo:rustc-link-lib=c");
2828
}
29+
30+
if Ok("windows") == env::var("CARGO_CFG_TARGET_OS").as_deref() {
31+
println!("cargo:rustc-link-lib=dylib=msvcrt");
32+
}
2933
}

0 commit comments

Comments
 (0)