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

@@ -7,7 +7,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
## [Unreleased] ## [Unreleased]
### Changed ### Changed
- Start differentiating between models using the 0x1866 USB device - Start differentiating between models using the 0x1866 USB device
- Refactor how to send multizone over dbus - 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
## [0.9.6] - 2020-22-05 ## [0.9.6] - 2020-22-05
### Changed ### Changed

View File

@@ -80,7 +80,11 @@ fn choose_1866_device() -> LaptopBase {
BuiltInModeByte::Rainbow, 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 laptop
} }