Skip to content

Commit 278a7c7

Browse files
committed
laptop12: --inputdeck use host command if available
Signed-off-by: Daniel Schaefer <git@danielschaefer.me>
1 parent af3c10d commit 278a7c7

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

  • framework_lib/src/chromium_ec

framework_lib/src/chromium_ec/mod.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -650,6 +650,11 @@ impl CrosEc {
650650
println!(" Audio Daughterboard: {} ({:?})", is_present(audio.is_some()), audio);
651651
println!(" Touchpad: {} ({:?})", is_present(tp.is_some()), tp);
652652

653+
if let Ok(status) = self.get_input_deck_status() {
654+
println!(" Deck State: {:?}", status.state);
655+
println!(" Touchpad present: {}", status.touchpad_present);
656+
}
657+
653658
Ok(())
654659
}
655660

0 commit comments

Comments
 (0)