mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
add some debug tracking on keyboard listeers
This commit is contained in:
parent
8c8ad3ab94
commit
602e028402
1 changed files with 1 additions and 0 deletions
|
|
@ -366,6 +366,7 @@ fn keyboard_service() {
|
||||||
let kr = buffer.as_flat::<KeyboardRegistration, _>().unwrap();
|
let kr = buffer.as_flat::<KeyboardRegistration, _>().unwrap();
|
||||||
match xns.request_connection_blocking(kr.server_name.as_str()) {
|
match xns.request_connection_blocking(kr.server_name.as_str()) {
|
||||||
Ok(cid) => {
|
Ok(cid) => {
|
||||||
|
log::info!("keyboard listener {} -> {}", kr.server_name, cid);
|
||||||
listeners.push((cid, <u32 as From<u32>>::from(kr.listener_op_id.into()) as usize));
|
listeners.push((cid, <u32 as From<u32>>::from(kr.listener_op_id.into()) as usize));
|
||||||
}
|
}
|
||||||
Err(e) => {
|
Err(e) => {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue