Laptop profiles, refactor multizone

- Start differentiating between models using the 0x1866 USB device
- Refactor how to send multizone over dbus, and how to write it (write 4 packets before writing SET/APPLY)
- Begin implementing profiles per board_name
This commit is contained in:
Luke
2020-05-22 21:11:55 +12:00
parent bd67afb104
commit 8f9c81e863
2 changed files with 7 additions and 2 deletions

View File

@@ -80,7 +80,11 @@ fn choose_1866_device() -> LaptopBase {
BuiltInModeByte::Rainbow,
];
}
_ => panic!("Unsupported laptop: {}, please request support at https://github.com/flukejones/rog-core", board_name),
"GA401" => {
// Has no RGB control
info!("Found GA401 series");
}
_ => panic!("Unsupported laptop: {}, please request support at\nhttps://github.com/flukejones/rog-core", board_name),
}
laptop
}