mirror of
https://github.com/saymrwulf/xous-core.git
synced 2026-11-18 08:52:45 +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<'_, _, _,>, _>();
|
let keyboard = composite.interface::<NKROBootKeyboardInterface<'_, _, _,>, _>();
|
||||||
match keyboard.read_report() {
|
match keyboard.read_report() {
|
||||||
Ok(l) => {
|
Ok(l) => {
|
||||||
|
log::info!("keyboard LEDs: {:?}", l);
|
||||||
led_state = l;
|
led_state = l;
|
||||||
}
|
}
|
||||||
Err(e) => log::trace!("KEYB ERR: {:?}", e),
|
Err(e) => log::trace!("KEYB ERR: {:?}", e),
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue