Launch commands for each device found if specified

This commit is contained in:
Jeremy Soller 2016-09-25 16:59:25 -06:00
commit 98399b030f

View file

@ -0,0 +1,14 @@
#[derive(Debug, Default, RustcDecodable)]
pub struct Config {
pub drivers: Vec<DriverConfig>
}
#[derive(Debug, Default, RustcDecodable)]
pub struct DriverConfig {
pub name: Option<String>,
pub class: Option<u8>,
pub subclass: Option<u8>,
pub vendor: Option<u16>,
pub device: Option<u16>,
pub command: Option<Vec<String>>
}