mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
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:
parent
622652393c
commit
79484224f6
3 changed files with 5 additions and 2 deletions
|
|
@ -1 +1 @@
|
|||
mod keyboard;
|
||||
pub mod keyboard;
|
||||
|
|
|
|||
|
|
@ -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();
|
||||
});
|
||||
|
|
|
|||
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue