Skip to content

Commit

Permalink
chore: add log when connecting to keyboard
Browse files Browse the repository at this point in the history
  • Loading branch information
cquintana92 committed Apr 19, 2024
1 parent 3edc3d5 commit faee9d0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion qmkontext-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,10 @@ fn get_sink(keyboards: &[KeyboardConfig]) -> Option<HidEventSink> {
keyboard.usage,
keyboard.usage_page,
) {
Ok(c) => return Some(c),
Ok(c) => {
info!("Connected to device: vendorid={} productid={}", keyboard.vendor_id, keyboard.product_id);
return Some(c)
},
Err(e) => {
error!("Cannot connect to device: {:?}", e);
}
Expand Down

0 comments on commit faee9d0

Please sign in to comment.