mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +00:00
port to composite format
This commit is contained in:
parent
372c2cb680
commit
647a3a26dd
1 changed files with 3 additions and 2 deletions
|
|
@ -161,8 +161,9 @@ fn xmain() -> ! {
|
||||||
.build();
|
.build();
|
||||||
#[cfg(any(target_os = "none", target_os = "xous"))]
|
#[cfg(any(target_os = "none", target_os = "xous"))]
|
||||||
{
|
{
|
||||||
keyboard.interface().write_report(&Vec::<Keyboard>::new()).ok();
|
let keyboard = composite.interface::<NKROBootKeyboardInterface<'_, _, _,>, _>();
|
||||||
keyboard.interface().tick().unwrap();
|
keyboard.write_report(&Vec::<Keyboard>::new()).ok();
|
||||||
|
keyboard.tick().unwrap();
|
||||||
}
|
}
|
||||||
|
|
||||||
#[cfg(any(target_os = "none", target_os = "xous"))]
|
#[cfg(any(target_os = "none", target_os = "xous"))]
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue