mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-16 08:38:26 +00:00
add some indicator if keyboard LEDs were set by host
This commit is contained in:
parent
7deb6fd4a1
commit
c1c0729f39
1 changed files with 1 additions and 0 deletions
|
|
@ -262,6 +262,7 @@ fn main() -> ! {
|
|||
let keyboard = composite.interface::<NKROBootKeyboardInterface<'_, _, _,>, _>();
|
||||
match keyboard.read_report() {
|
||||
Ok(l) => {
|
||||
log::info!("keyboard LEDs: {:?}", l);
|
||||
led_state = l;
|
||||
}
|
||||
Err(e) => log::trace!("KEYB ERR: {:?}", e),
|
||||
|
|
|
|||
Loading…
Reference in a new issue