Animatrix: gu604 sim

This commit is contained in:
Luke D. Jones
2023-06-25 16:27:09 +12:00
parent 55723b7b77
commit 3d6d92ae7d
8 changed files with 71 additions and 73 deletions

View File

@@ -44,7 +44,10 @@ impl HidRaw {
let dev_path = device.devpath().to_string_lossy();
if dev_path.contains("virtual") && dev_path.contains(&id_product.to_uppercase()) {
if let Some(dev_node) = device.devnode() {
info!("Using device at: {:?} for asdfgsadfgh control", dev_node);
info!(
"Using device at: {:?} for <TODO: label control> control",
dev_node
);
return Ok(Self(dev_node.to_owned()));
}
}