start the keyboard emulator service

the service isn't fully implemented but its existence allows
other processes to make forward progress on boot for testing
This commit is contained in:
bunnie 2024-05-23 14:46:07 +08:00
parent 622652393c
commit 79484224f6
3 changed files with 5 additions and 2 deletions

View file

@ -1 +1 @@
mod keyboard;
pub mod keyboard;

View file

@ -5,7 +5,7 @@ use xous_ipc::Buffer;
use crate::api;
use crate::api::keyboard::*;
fn start_keyboard_service() {
pub fn start_keyboard_service() {
std::thread::spawn(move || {
keyboard_service();
});

View file

@ -181,6 +181,9 @@ fn main() {
log::info!("Quantum timer setup!");
}
// start keyboard emulator service
hw::keyboard::start_keyboard_service();
let mut msg_opt = None;
log::debug!("Starting main loop");
loop {