forked from AbleOS/ableos_userland
add a ps2 driver
This commit is contained in:
parent
693d861a4e
commit
be110ed6cc
2
drivers/keyboards/ps2_keyboard/.cargo/config.toml
Normal file
2
drivers/keyboards/ps2_keyboard/.cargo/config.toml
Normal file
|
@ -0,0 +1,2 @@
|
|||
[build]
|
||||
target = "wasm32-unknown-unknown"
|
8
drivers/keyboards/ps2_keyboard/Cargo.toml
Normal file
8
drivers/keyboards/ps2_keyboard/Cargo.toml
Normal file
|
@ -0,0 +1,8 @@
|
|||
[package]
|
||||
name = "ps2_keyboard"
|
||||
version = "0.1.0"
|
||||
edition = "2021"
|
||||
|
||||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||||
|
||||
[dependencies]
|
2
drivers/keyboards/ps2_keyboard/readme.md
Normal file
2
drivers/keyboards/ps2_keyboard/readme.md
Normal file
|
@ -0,0 +1,2 @@
|
|||
|
||||
This driver will take in keyboard scancodes and pass them to a server program that handles translation
|
5
drivers/keyboards/ps2_keyboard/src/main.rs
Normal file
5
drivers/keyboards/ps2_keyboard/src/main.rs
Normal file
|
@ -0,0 +1,5 @@
|
|||
#![no_std]
|
||||
#![no_main]
|
||||
|
||||
#[no_mangle]
|
||||
fn start() {}
|
Loading…
Reference in a new issue